ghcjs-fetch-0.1.0.0: GHCJS bindings for the JavaScript Fetch API
GHCJS.Fetch.Types
newtype JSRequest Source #
Constructors
newtype JSResponse Source #
Instances
Methods
fromJSVal :: JSVal -> IO (Maybe JSResponse) #
fromJSValUnchecked :: JSVal -> IO JSResponse #
fromJSValListOf :: JSVal -> IO (Maybe [JSResponse]) #
fromJSValUncheckedListOf :: JSVal -> IO [JSResponse] #
newtype JSHeaders Source #
jsval_ :: JSHeaders -> JSVal
newtype JSPromise a Source #
data JSPromiseException Source #
showsPrec :: Int -> JSPromiseException -> ShowS #
show :: JSPromiseException -> String #
showList :: [JSPromiseException] -> ShowS #
toException :: JSPromiseException -> SomeException #
fromException :: SomeException -> Maybe JSPromiseException #
displayException :: JSPromiseException -> String #