Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- messageContentSniffed
- messageDisableFeature
- messageFinished
- messageGetAddress
- messageGetFirstParty
- messageGetFlags
- messageGetHttpVersion
- messageGetHttpsStatus
- messageGetPriority
- messageGetSoupRequest
- messageGetUri
- messageGotBody
- messageGotChunk
- messageGotHeaders
- messageGotInformational
- messageIsKeepalive
- messageNew
- messageNewFromUri
- messageRestarted
- messageSetChunkAllocator
- messageSetFirstParty
- messageSetFlags
- messageSetHttpVersion
- messageSetPriority
- messageSetRedirect
- messageSetRequest
- messageSetResponse
- messageSetStatus
- messageSetStatusFull
- messageSetUri
- messageStarting
- messageWroteBody
- messageWroteBodyData
- messageWroteChunk
- messageWroteHeaders
- messageWroteInformational
- Properties
- Signals
- newtype Message = Message (ForeignPtr Message)
- class GObject o => MessageK o
- toMessage :: MessageK o => o -> IO Message
- noMessage :: Maybe Message
- data MessageContentSniffedMethodInfo
- messageContentSniffed :: (MonadIO m, MessageK a) => a -> Text -> Map (Ptr ()) (Ptr ()) -> m ()
- data MessageDisableFeatureMethodInfo
- messageDisableFeature :: (MonadIO m, MessageK a) => a -> GType -> m ()
- data MessageFinishedMethodInfo
- messageFinished :: (MonadIO m, MessageK a) => a -> m ()
- data MessageGetAddressMethodInfo
- messageGetAddress :: (MonadIO m, MessageK a) => a -> m Address
- data MessageGetFirstPartyMethodInfo
- messageGetFirstParty :: (MonadIO m, MessageK a) => a -> m URI
- data MessageGetFlagsMethodInfo
- messageGetFlags :: (MonadIO m, MessageK a) => a -> m [MessageFlags]
- data MessageGetHttpVersionMethodInfo
- messageGetHttpVersion :: (MonadIO m, MessageK a) => a -> m HTTPVersion
- data MessageGetHttpsStatusMethodInfo
- messageGetHttpsStatus :: (MonadIO m, MessageK a) => a -> m (Bool, TlsCertificate, [TlsCertificateFlags])
- data MessageGetPriorityMethodInfo
- messageGetPriority :: (MonadIO m, MessageK a) => a -> m MessagePriority
- data MessageGetSoupRequestMethodInfo
- messageGetSoupRequest :: (MonadIO m, MessageK a) => a -> m Request
- data MessageGetUriMethodInfo
- messageGetUri :: (MonadIO m, MessageK a) => a -> m URI
- data MessageGotBodyMethodInfo
- messageGotBody :: (MonadIO m, MessageK a) => a -> m ()
- data MessageGotChunkMethodInfo
- messageGotChunk :: (MonadIO m, MessageK a) => a -> Buffer -> m ()
- data MessageGotHeadersMethodInfo
- messageGotHeaders :: (MonadIO m, MessageK a) => a -> m ()
- data MessageGotInformationalMethodInfo
- messageGotInformational :: (MonadIO m, MessageK a) => a -> m ()
- data MessageIsKeepaliveMethodInfo
- messageIsKeepalive :: (MonadIO m, MessageK a) => a -> m Bool
- messageNew :: MonadIO m => Text -> Text -> m (Maybe Message)
- messageNewFromUri :: MonadIO m => Text -> URI -> m Message
- data MessageRestartedMethodInfo
- messageRestarted :: (MonadIO m, MessageK a) => a -> m ()
- data MessageSetChunkAllocatorMethodInfo
- messageSetChunkAllocator :: (MonadIO m, MessageK a) => a -> ChunkAllocator -> m ()
- data MessageSetFirstPartyMethodInfo
- messageSetFirstParty :: (MonadIO m, MessageK a) => a -> URI -> m ()
- data MessageSetFlagsMethodInfo
- messageSetFlags :: (MonadIO m, MessageK a) => a -> [MessageFlags] -> m ()
- data MessageSetHttpVersionMethodInfo
- messageSetHttpVersion :: (MonadIO m, MessageK a) => a -> HTTPVersion -> m ()
- data MessageSetPriorityMethodInfo
- messageSetPriority :: (MonadIO m, MessageK a) => a -> MessagePriority -> m ()
- data MessageSetRedirectMethodInfo
- messageSetRedirect :: (MonadIO m, MessageK a) => a -> Word32 -> Text -> m ()
- data MessageSetRequestMethodInfo
- messageSetRequest :: (MonadIO m, MessageK a) => a -> Maybe Text -> MemoryUse -> Maybe ByteString -> m ()
- data MessageSetResponseMethodInfo
- messageSetResponse :: (MonadIO m, MessageK a) => a -> Maybe Text -> MemoryUse -> Maybe ByteString -> m ()
- data MessageSetStatusMethodInfo
- messageSetStatus :: (MonadIO m, MessageK a) => a -> Word32 -> m ()
- data MessageSetStatusFullMethodInfo
- messageSetStatusFull :: (MonadIO m, MessageK a) => a -> Word32 -> Text -> m ()
- data MessageSetUriMethodInfo
- messageSetUri :: (MonadIO m, MessageK a) => a -> URI -> m ()
- data MessageStartingMethodInfo
- messageStarting :: (MonadIO m, MessageK a) => a -> m ()
- data MessageWroteBodyMethodInfo
- messageWroteBody :: (MonadIO m, MessageK a) => a -> m ()
- data MessageWroteBodyDataMethodInfo
- messageWroteBodyData :: (MonadIO m, MessageK a) => a -> Buffer -> m ()
- data MessageWroteChunkMethodInfo
- messageWroteChunk :: (MonadIO m, MessageK a) => a -> m ()
- data MessageWroteHeadersMethodInfo
- messageWroteHeaders :: (MonadIO m, MessageK a) => a -> m ()
- data MessageWroteInformationalMethodInfo
- messageWroteInformational :: (MonadIO m, MessageK a) => a -> m ()
- data MessageFirstPartyPropertyInfo
- constructMessageFirstParty :: URI -> IO ([Char], GValue)
- getMessageFirstParty :: (MonadIO m, MessageK o) => o -> m URI
- messageFirstParty :: AttrLabelProxy "firstParty"
- setMessageFirstParty :: (MonadIO m, MessageK o) => o -> URI -> m ()
- data MessageFlagsPropertyInfo
- constructMessageFlags :: [MessageFlags] -> IO ([Char], GValue)
- getMessageFlags :: (MonadIO m, MessageK o) => o -> m [MessageFlags]
- messageFlags :: AttrLabelProxy "flags"
- setMessageFlags :: (MonadIO m, MessageK o) => o -> [MessageFlags] -> m ()
- data MessageHttpVersionPropertyInfo
- constructMessageHttpVersion :: HTTPVersion -> IO ([Char], GValue)
- getMessageHttpVersion :: (MonadIO m, MessageK o) => o -> m HTTPVersion
- messageHttpVersion :: AttrLabelProxy "httpVersion"
- setMessageHttpVersion :: (MonadIO m, MessageK o) => o -> HTTPVersion -> m ()
- data MessageMethodPropertyInfo
- clearMessageMethod :: (MonadIO m, MessageK o) => o -> m ()
- constructMessageMethod :: Text -> IO ([Char], GValue)
- getMessageMethod :: (MonadIO m, MessageK o) => o -> m (Maybe Text)
- messageMethod :: AttrLabelProxy "method"
- setMessageMethod :: (MonadIO m, MessageK o) => o -> Text -> m ()
- data MessagePriorityPropertyInfo
- constructMessagePriority :: MessagePriority -> IO ([Char], GValue)
- getMessagePriority :: (MonadIO m, MessageK o) => o -> m MessagePriority
- messagePriority :: AttrLabelProxy "priority"
- setMessagePriority :: (MonadIO m, MessageK o) => o -> MessagePriority -> m ()
- data MessageReasonPhrasePropertyInfo
- clearMessageReasonPhrase :: (MonadIO m, MessageK o) => o -> m ()
- constructMessageReasonPhrase :: Text -> IO ([Char], GValue)
- getMessageReasonPhrase :: (MonadIO m, MessageK o) => o -> m (Maybe Text)
- messageReasonPhrase :: AttrLabelProxy "reasonPhrase"
- setMessageReasonPhrase :: (MonadIO m, MessageK o) => o -> Text -> m ()
- data MessageRequestBodyPropertyInfo
- getMessageRequestBody :: (MonadIO m, MessageK o) => o -> m (Maybe MessageBody)
- messageRequestBody :: AttrLabelProxy "requestBody"
- data MessageRequestBodyDataPropertyInfo
- getMessageRequestBodyData :: (MonadIO m, MessageK o) => o -> m (Maybe Bytes)
- messageRequestBodyData :: AttrLabelProxy "requestBodyData"
- data MessageRequestHeadersPropertyInfo
- getMessageRequestHeaders :: (MonadIO m, MessageK o) => o -> m (Maybe MessageHeaders)
- messageRequestHeaders :: AttrLabelProxy "requestHeaders"
- data MessageResponseBodyPropertyInfo
- getMessageResponseBody :: (MonadIO m, MessageK o) => o -> m (Maybe MessageBody)
- messageResponseBody :: AttrLabelProxy "responseBody"
- data MessageResponseBodyDataPropertyInfo
- getMessageResponseBodyData :: (MonadIO m, MessageK o) => o -> m (Maybe Bytes)
- messageResponseBodyData :: AttrLabelProxy "responseBodyData"
- data MessageResponseHeadersPropertyInfo
- getMessageResponseHeaders :: (MonadIO m, MessageK o) => o -> m (Maybe MessageHeaders)
- messageResponseHeaders :: AttrLabelProxy "responseHeaders"
- data MessageServerSidePropertyInfo
- constructMessageServerSide :: Bool -> IO ([Char], GValue)
- getMessageServerSide :: (MonadIO m, MessageK o) => o -> m Bool
- messageServerSide :: AttrLabelProxy "serverSide"
- data MessageStatusCodePropertyInfo
- constructMessageStatusCode :: Word32 -> IO ([Char], GValue)
- getMessageStatusCode :: (MonadIO m, MessageK o) => o -> m Word32
- messageStatusCode :: AttrLabelProxy "statusCode"
- setMessageStatusCode :: (MonadIO m, MessageK o) => o -> Word32 -> m ()
- data MessageTlsCertificatePropertyInfo
- clearMessageTlsCertificate :: (MonadIO m, MessageK o) => o -> m ()
- constructMessageTlsCertificate :: TlsCertificateK a => a -> IO ([Char], GValue)
- getMessageTlsCertificate :: (MonadIO m, MessageK o) => o -> m (Maybe TlsCertificate)
- messageTlsCertificate :: AttrLabelProxy "tlsCertificate"
- setMessageTlsCertificate :: (MonadIO m, MessageK o, TlsCertificateK a) => o -> a -> m ()
- data MessageTlsErrorsPropertyInfo
- constructMessageTlsErrors :: [TlsCertificateFlags] -> IO ([Char], GValue)
- getMessageTlsErrors :: (MonadIO m, MessageK o) => o -> m [TlsCertificateFlags]
- messageTlsErrors :: AttrLabelProxy "tlsErrors"
- setMessageTlsErrors :: (MonadIO m, MessageK o) => o -> [TlsCertificateFlags] -> m ()
- data MessageUriPropertyInfo
- constructMessageUri :: URI -> IO ([Char], GValue)
- getMessageUri :: (MonadIO m, MessageK o) => o -> m URI
- messageUri :: AttrLabelProxy "uri"
- setMessageUri :: (MonadIO m, MessageK o) => o -> URI -> m ()
- type MessageContentSniffedCallback = Text -> Map Text Text -> IO ()
- type MessageContentSniffedCallbackC = Ptr () -> CString -> Ptr (GHashTable CString CString) -> Ptr () -> IO ()
- data MessageContentSniffedSignalInfo
- afterMessageContentSniffed :: (GObject a, MonadIO m) => a -> MessageContentSniffedCallback -> m SignalHandlerId
- messageContentSniffedCallbackWrapper :: MessageContentSniffedCallback -> Ptr () -> CString -> Ptr (GHashTable CString CString) -> Ptr () -> IO ()
- messageContentSniffedClosure :: MessageContentSniffedCallback -> IO Closure
- mkMessageContentSniffedCallback :: MessageContentSniffedCallbackC -> IO (FunPtr MessageContentSniffedCallbackC)
- noMessageContentSniffedCallback :: Maybe MessageContentSniffedCallback
- onMessageContentSniffed :: (GObject a, MonadIO m) => a -> MessageContentSniffedCallback -> m SignalHandlerId
- type MessageFinishedCallback = IO ()
- type MessageFinishedCallbackC = Ptr () -> Ptr () -> IO ()
- data MessageFinishedSignalInfo
- afterMessageFinished :: (GObject a, MonadIO m) => a -> MessageFinishedCallback -> m SignalHandlerId
- messageFinishedCallbackWrapper :: MessageFinishedCallback -> Ptr () -> Ptr () -> IO ()
- messageFinishedClosure :: MessageFinishedCallback -> IO Closure
- mkMessageFinishedCallback :: MessageFinishedCallbackC -> IO (FunPtr MessageFinishedCallbackC)
- noMessageFinishedCallback :: Maybe MessageFinishedCallback
- onMessageFinished :: (GObject a, MonadIO m) => a -> MessageFinishedCallback -> m SignalHandlerId
- type MessageGotBodyCallback = IO ()
- type MessageGotBodyCallbackC = Ptr () -> Ptr () -> IO ()
- data MessageGotBodySignalInfo
- afterMessageGotBody :: (GObject a, MonadIO m) => a -> MessageGotBodyCallback -> m SignalHandlerId
- messageGotBodyCallbackWrapper :: MessageGotBodyCallback -> Ptr () -> Ptr () -> IO ()
- messageGotBodyClosure :: MessageGotBodyCallback -> IO Closure
- mkMessageGotBodyCallback :: MessageGotBodyCallbackC -> IO (FunPtr MessageGotBodyCallbackC)
- noMessageGotBodyCallback :: Maybe MessageGotBodyCallback
- onMessageGotBody :: (GObject a, MonadIO m) => a -> MessageGotBodyCallback -> m SignalHandlerId
- type MessageGotChunkCallback = Buffer -> IO ()
- type MessageGotChunkCallbackC = Ptr () -> Ptr Buffer -> Ptr () -> IO ()
- data MessageGotChunkSignalInfo
- afterMessageGotChunk :: (GObject a, MonadIO m) => a -> MessageGotChunkCallback -> m SignalHandlerId
- messageGotChunkCallbackWrapper :: MessageGotChunkCallback -> Ptr () -> Ptr Buffer -> Ptr () -> IO ()
- messageGotChunkClosure :: MessageGotChunkCallback -> IO Closure
- mkMessageGotChunkCallback :: MessageGotChunkCallbackC -> IO (FunPtr MessageGotChunkCallbackC)
- noMessageGotChunkCallback :: Maybe MessageGotChunkCallback
- onMessageGotChunk :: (GObject a, MonadIO m) => a -> MessageGotChunkCallback -> m SignalHandlerId
- type MessageGotHeadersCallback = IO ()
- type MessageGotHeadersCallbackC = Ptr () -> Ptr () -> IO ()
- data MessageGotHeadersSignalInfo
- afterMessageGotHeaders :: (GObject a, MonadIO m) => a -> MessageGotHeadersCallback -> m SignalHandlerId
- messageGotHeadersCallbackWrapper :: MessageGotHeadersCallback -> Ptr () -> Ptr () -> IO ()
- messageGotHeadersClosure :: MessageGotHeadersCallback -> IO Closure
- mkMessageGotHeadersCallback :: MessageGotHeadersCallbackC -> IO (FunPtr MessageGotHeadersCallbackC)
- noMessageGotHeadersCallback :: Maybe MessageGotHeadersCallback
- onMessageGotHeaders :: (GObject a, MonadIO m) => a -> MessageGotHeadersCallback -> m SignalHandlerId
- type MessageGotInformationalCallback = IO ()
- type MessageGotInformationalCallbackC = Ptr () -> Ptr () -> IO ()
- data MessageGotInformationalSignalInfo
- afterMessageGotInformational :: (GObject a, MonadIO m) => a -> MessageGotInformationalCallback -> m SignalHandlerId
- messageGotInformationalCallbackWrapper :: MessageGotInformationalCallback -> Ptr () -> Ptr () -> IO ()
- messageGotInformationalClosure :: MessageGotInformationalCallback -> IO Closure
- mkMessageGotInformationalCallback :: MessageGotInformationalCallbackC -> IO (FunPtr MessageGotInformationalCallbackC)
- noMessageGotInformationalCallback :: Maybe MessageGotInformationalCallback
- onMessageGotInformational :: (GObject a, MonadIO m) => a -> MessageGotInformationalCallback -> m SignalHandlerId
- type MessageNetworkEventCallback = SocketClientEvent -> IOStream -> IO ()
- type MessageNetworkEventCallbackC = Ptr () -> CUInt -> Ptr IOStream -> Ptr () -> IO ()
- data MessageNetworkEventSignalInfo
- afterMessageNetworkEvent :: (GObject a, MonadIO m) => a -> MessageNetworkEventCallback -> m SignalHandlerId
- messageNetworkEventCallbackWrapper :: MessageNetworkEventCallback -> Ptr () -> CUInt -> Ptr IOStream -> Ptr () -> IO ()
- messageNetworkEventClosure :: MessageNetworkEventCallback -> IO Closure
- mkMessageNetworkEventCallback :: MessageNetworkEventCallbackC -> IO (FunPtr MessageNetworkEventCallbackC)
- noMessageNetworkEventCallback :: Maybe MessageNetworkEventCallback
- onMessageNetworkEvent :: (GObject a, MonadIO m) => a -> MessageNetworkEventCallback -> m SignalHandlerId
- type MessageRestartedCallback = IO ()
- type MessageRestartedCallbackC = Ptr () -> Ptr () -> IO ()
- data MessageRestartedSignalInfo
- afterMessageRestarted :: (GObject a, MonadIO m) => a -> MessageRestartedCallback -> m SignalHandlerId
- messageRestartedCallbackWrapper :: MessageRestartedCallback -> Ptr () -> Ptr () -> IO ()
- messageRestartedClosure :: MessageRestartedCallback -> IO Closure
- mkMessageRestartedCallback :: MessageRestartedCallbackC -> IO (FunPtr MessageRestartedCallbackC)
- noMessageRestartedCallback :: Maybe MessageRestartedCallback
- onMessageRestarted :: (GObject a, MonadIO m) => a -> MessageRestartedCallback -> m SignalHandlerId
- type MessageStartingCallback = IO ()
- type MessageStartingCallbackC = Ptr () -> Ptr () -> IO ()
- data MessageStartingSignalInfo
- afterMessageStarting :: (GObject a, MonadIO m) => a -> MessageStartingCallback -> m SignalHandlerId
- messageStartingCallbackWrapper :: MessageStartingCallback -> Ptr () -> Ptr () -> IO ()
- messageStartingClosure :: MessageStartingCallback -> IO Closure
- mkMessageStartingCallback :: MessageStartingCallbackC -> IO (FunPtr MessageStartingCallbackC)
- noMessageStartingCallback :: Maybe MessageStartingCallback
- onMessageStarting :: (GObject a, MonadIO m) => a -> MessageStartingCallback -> m SignalHandlerId
- type MessageWroteBodyCallback = IO ()
- type MessageWroteBodyCallbackC = Ptr () -> Ptr () -> IO ()
- data MessageWroteBodySignalInfo
- afterMessageWroteBody :: (GObject a, MonadIO m) => a -> MessageWroteBodyCallback -> m SignalHandlerId
- messageWroteBodyCallbackWrapper :: MessageWroteBodyCallback -> Ptr () -> Ptr () -> IO ()
- messageWroteBodyClosure :: MessageWroteBodyCallback -> IO Closure
- mkMessageWroteBodyCallback :: MessageWroteBodyCallbackC -> IO (FunPtr MessageWroteBodyCallbackC)
- noMessageWroteBodyCallback :: Maybe MessageWroteBodyCallback
- onMessageWroteBody :: (GObject a, MonadIO m) => a -> MessageWroteBodyCallback -> m SignalHandlerId
- type MessageWroteBodyDataCallback = Buffer -> IO ()
- type MessageWroteBodyDataCallbackC = Ptr () -> Ptr Buffer -> Ptr () -> IO ()
- data MessageWroteBodyDataSignalInfo
- afterMessageWroteBodyData :: (GObject a, MonadIO m) => a -> MessageWroteBodyDataCallback -> m SignalHandlerId
- messageWroteBodyDataCallbackWrapper :: MessageWroteBodyDataCallback -> Ptr () -> Ptr Buffer -> Ptr () -> IO ()
- messageWroteBodyDataClosure :: MessageWroteBodyDataCallback -> IO Closure
- mkMessageWroteBodyDataCallback :: MessageWroteBodyDataCallbackC -> IO (FunPtr MessageWroteBodyDataCallbackC)
- noMessageWroteBodyDataCallback :: Maybe MessageWroteBodyDataCallback
- onMessageWroteBodyData :: (GObject a, MonadIO m) => a -> MessageWroteBodyDataCallback -> m SignalHandlerId
- type MessageWroteChunkCallback = IO ()
- type MessageWroteChunkCallbackC = Ptr () -> Ptr () -> IO ()
- data MessageWroteChunkSignalInfo
- afterMessageWroteChunk :: (GObject a, MonadIO m) => a -> MessageWroteChunkCallback -> m SignalHandlerId
- messageWroteChunkCallbackWrapper :: MessageWroteChunkCallback -> Ptr () -> Ptr () -> IO ()
- messageWroteChunkClosure :: MessageWroteChunkCallback -> IO Closure
- mkMessageWroteChunkCallback :: MessageWroteChunkCallbackC -> IO (FunPtr MessageWroteChunkCallbackC)
- noMessageWroteChunkCallback :: Maybe MessageWroteChunkCallback
- onMessageWroteChunk :: (GObject a, MonadIO m) => a -> MessageWroteChunkCallback -> m SignalHandlerId
- type MessageWroteHeadersCallback = IO ()
- type MessageWroteHeadersCallbackC = Ptr () -> Ptr () -> IO ()
- data MessageWroteHeadersSignalInfo
- afterMessageWroteHeaders :: (GObject a, MonadIO m) => a -> MessageWroteHeadersCallback -> m SignalHandlerId
- messageWroteHeadersCallbackWrapper :: MessageWroteHeadersCallback -> Ptr () -> Ptr () -> IO ()
- messageWroteHeadersClosure :: MessageWroteHeadersCallback -> IO Closure
- mkMessageWroteHeadersCallback :: MessageWroteHeadersCallbackC -> IO (FunPtr MessageWroteHeadersCallbackC)
- noMessageWroteHeadersCallback :: Maybe MessageWroteHeadersCallback
- onMessageWroteHeaders :: (GObject a, MonadIO m) => a -> MessageWroteHeadersCallback -> m SignalHandlerId
- type MessageWroteInformationalCallback = IO ()
- type MessageWroteInformationalCallbackC = Ptr () -> Ptr () -> IO ()
- data MessageWroteInformationalSignalInfo
- afterMessageWroteInformational :: (GObject a, MonadIO m) => a -> MessageWroteInformationalCallback -> m SignalHandlerId
- messageWroteInformationalCallbackWrapper :: MessageWroteInformationalCallback -> Ptr () -> Ptr () -> IO ()
- messageWroteInformationalClosure :: MessageWroteInformationalCallback -> IO Closure
- mkMessageWroteInformationalCallback :: MessageWroteInformationalCallbackC -> IO (FunPtr MessageWroteInformationalCallbackC)
- noMessageWroteInformationalCallback :: Maybe MessageWroteInformationalCallback
- onMessageWroteInformational :: (GObject a, MonadIO m) => a -> MessageWroteInformationalCallback -> m SignalHandlerId
Exported types
GObject Message | |
((~) * info (ResolveMessageMethod t Message), MethodInfo * info Message p) => IsLabelProxy t (Message -> p) | |
type ParentTypes Message | |
type AttributeList Message | |
type SignalList Message |
Methods
messageContentSniffed
data MessageContentSniffedMethodInfo Source
((~) * signature (Text -> Map (Ptr ()) (Ptr ()) -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageContentSniffedMethodInfo a signature |
messageContentSniffed :: (MonadIO m, MessageK a) => a -> Text -> Map (Ptr ()) (Ptr ()) -> m () Source
messageDisableFeature
data MessageDisableFeatureMethodInfo Source
((~) * signature (GType -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageDisableFeatureMethodInfo a signature |
messageDisableFeature :: (MonadIO m, MessageK a) => a -> GType -> m () Source
messageFinished
data MessageFinishedMethodInfo Source
((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageFinishedMethodInfo a signature |
messageFinished :: (MonadIO m, MessageK a) => a -> m () Source
messageGetAddress
data MessageGetAddressMethodInfo Source
((~) * signature (m Address), MonadIO m, MessageK a) => MethodInfo * MessageGetAddressMethodInfo a signature |
messageGetAddress :: (MonadIO m, MessageK a) => a -> m Address Source
messageGetFirstParty
data MessageGetFirstPartyMethodInfo Source
((~) * signature (m URI), MonadIO m, MessageK a) => MethodInfo * MessageGetFirstPartyMethodInfo a signature |
messageGetFirstParty :: (MonadIO m, MessageK a) => a -> m URI Source
messageGetFlags
data MessageGetFlagsMethodInfo Source
((~) * signature (m [MessageFlags]), MonadIO m, MessageK a) => MethodInfo * MessageGetFlagsMethodInfo a signature |
messageGetFlags :: (MonadIO m, MessageK a) => a -> m [MessageFlags] Source
messageGetHttpVersion
data MessageGetHttpVersionMethodInfo Source
((~) * signature (m HTTPVersion), MonadIO m, MessageK a) => MethodInfo * MessageGetHttpVersionMethodInfo a signature |
messageGetHttpVersion :: (MonadIO m, MessageK a) => a -> m HTTPVersion Source
messageGetHttpsStatus
data MessageGetHttpsStatusMethodInfo Source
((~) * signature (m (Bool, TlsCertificate, [TlsCertificateFlags])), MonadIO m, MessageK a) => MethodInfo * MessageGetHttpsStatusMethodInfo a signature |
messageGetHttpsStatus :: (MonadIO m, MessageK a) => a -> m (Bool, TlsCertificate, [TlsCertificateFlags]) Source
messageGetPriority
data MessageGetPriorityMethodInfo Source
((~) * signature (m MessagePriority), MonadIO m, MessageK a) => MethodInfo * MessageGetPriorityMethodInfo a signature |
messageGetPriority :: (MonadIO m, MessageK a) => a -> m MessagePriority Source
messageGetSoupRequest
data MessageGetSoupRequestMethodInfo Source
((~) * signature (m Request), MonadIO m, MessageK a) => MethodInfo * MessageGetSoupRequestMethodInfo a signature |
messageGetSoupRequest :: (MonadIO m, MessageK a) => a -> m Request Source
messageGetUri
data MessageGetUriMethodInfo Source
((~) * signature (m URI), MonadIO m, MessageK a) => MethodInfo * MessageGetUriMethodInfo a signature |
messageGetUri :: (MonadIO m, MessageK a) => a -> m URI Source
messageGotBody
data MessageGotBodyMethodInfo Source
((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageGotBodyMethodInfo a signature |
messageGotBody :: (MonadIO m, MessageK a) => a -> m () Source
messageGotChunk
data MessageGotChunkMethodInfo Source
((~) * signature (Buffer -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageGotChunkMethodInfo a signature |
messageGotChunk :: (MonadIO m, MessageK a) => a -> Buffer -> m () Source
messageGotHeaders
data MessageGotHeadersMethodInfo Source
((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageGotHeadersMethodInfo a signature |
messageGotHeaders :: (MonadIO m, MessageK a) => a -> m () Source
messageGotInformational
data MessageGotInformationalMethodInfo Source
((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageGotInformationalMethodInfo a signature |
messageGotInformational :: (MonadIO m, MessageK a) => a -> m () Source
messageIsKeepalive
data MessageIsKeepaliveMethodInfo Source
((~) * signature (m Bool), MonadIO m, MessageK a) => MethodInfo * MessageIsKeepaliveMethodInfo a signature |
messageIsKeepalive :: (MonadIO m, MessageK a) => a -> m Bool Source
messageNew
messageNewFromUri
messageRestarted
data MessageRestartedMethodInfo Source
((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageRestartedMethodInfo a signature |
messageRestarted :: (MonadIO m, MessageK a) => a -> m () Source
messageSetChunkAllocator
data MessageSetChunkAllocatorMethodInfo Source
((~) * signature (ChunkAllocator -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetChunkAllocatorMethodInfo a signature |
messageSetChunkAllocator :: (MonadIO m, MessageK a) => a -> ChunkAllocator -> m () Source
Deprecated: #SoupRequest provides a much simpler API that lets youread the response directly into your own buffers without needing tomess with callbacks, pausing/unpausing, etc.
messageSetFirstParty
data MessageSetFirstPartyMethodInfo Source
((~) * signature (URI -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetFirstPartyMethodInfo a signature |
messageSetFirstParty :: (MonadIO m, MessageK a) => a -> URI -> m () Source
messageSetFlags
data MessageSetFlagsMethodInfo Source
((~) * signature ([MessageFlags] -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetFlagsMethodInfo a signature |
messageSetFlags :: (MonadIO m, MessageK a) => a -> [MessageFlags] -> m () Source
messageSetHttpVersion
data MessageSetHttpVersionMethodInfo Source
((~) * signature (HTTPVersion -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetHttpVersionMethodInfo a signature |
messageSetHttpVersion :: (MonadIO m, MessageK a) => a -> HTTPVersion -> m () Source
messageSetPriority
data MessageSetPriorityMethodInfo Source
((~) * signature (MessagePriority -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetPriorityMethodInfo a signature |
messageSetPriority :: (MonadIO m, MessageK a) => a -> MessagePriority -> m () Source
messageSetRedirect
data MessageSetRedirectMethodInfo Source
((~) * signature (Word32 -> Text -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetRedirectMethodInfo a signature |
messageSetRequest
data MessageSetRequestMethodInfo Source
((~) * signature (Maybe Text -> MemoryUse -> Maybe ByteString -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetRequestMethodInfo a signature |
messageSetRequest :: (MonadIO m, MessageK a) => a -> Maybe Text -> MemoryUse -> Maybe ByteString -> m () Source
messageSetResponse
data MessageSetResponseMethodInfo Source
((~) * signature (Maybe Text -> MemoryUse -> Maybe ByteString -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetResponseMethodInfo a signature |
messageSetResponse :: (MonadIO m, MessageK a) => a -> Maybe Text -> MemoryUse -> Maybe ByteString -> m () Source
messageSetStatus
data MessageSetStatusMethodInfo Source
((~) * signature (Word32 -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetStatusMethodInfo a signature |
messageSetStatus :: (MonadIO m, MessageK a) => a -> Word32 -> m () Source
messageSetStatusFull
data MessageSetStatusFullMethodInfo Source
((~) * signature (Word32 -> Text -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetStatusFullMethodInfo a signature |
messageSetUri
data MessageSetUriMethodInfo Source
((~) * signature (URI -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetUriMethodInfo a signature |
messageSetUri :: (MonadIO m, MessageK a) => a -> URI -> m () Source
messageStarting
data MessageStartingMethodInfo Source
((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageStartingMethodInfo a signature |
messageStarting :: (MonadIO m, MessageK a) => a -> m () Source
messageWroteBody
data MessageWroteBodyMethodInfo Source
((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageWroteBodyMethodInfo a signature |
messageWroteBody :: (MonadIO m, MessageK a) => a -> m () Source
messageWroteBodyData
data MessageWroteBodyDataMethodInfo Source
((~) * signature (Buffer -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageWroteBodyDataMethodInfo a signature |
messageWroteBodyData :: (MonadIO m, MessageK a) => a -> Buffer -> m () Source
messageWroteChunk
data MessageWroteChunkMethodInfo Source
((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageWroteChunkMethodInfo a signature |
messageWroteChunk :: (MonadIO m, MessageK a) => a -> m () Source
messageWroteHeaders
data MessageWroteHeadersMethodInfo Source
((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageWroteHeadersMethodInfo a signature |
messageWroteHeaders :: (MonadIO m, MessageK a) => a -> m () Source
messageWroteInformational
data MessageWroteInformationalMethodInfo Source
((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageWroteInformationalMethodInfo a signature |
messageWroteInformational :: (MonadIO m, MessageK a) => a -> m () Source
Properties
FirstParty
data MessageFirstPartyPropertyInfo Source
AttrInfo MessageFirstPartyPropertyInfo | |
type AttrLabel MessageFirstPartyPropertyInfo = "first-party" | |
type AttrGetType MessageFirstPartyPropertyInfo = URI | |
type AttrBaseTypeConstraint MessageFirstPartyPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageFirstPartyPropertyInfo = * ~ URI | |
type AttrAllowedOps MessageFirstPartyPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getMessageFirstParty :: (MonadIO m, MessageK o) => o -> m URI Source
messageFirstParty :: AttrLabelProxy "firstParty" Source
setMessageFirstParty :: (MonadIO m, MessageK o) => o -> URI -> m () Source
Flags
data MessageFlagsPropertyInfo Source
AttrInfo MessageFlagsPropertyInfo | |
type AttrLabel MessageFlagsPropertyInfo = "flags" | |
type AttrGetType MessageFlagsPropertyInfo = [MessageFlags] | |
type AttrBaseTypeConstraint MessageFlagsPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageFlagsPropertyInfo = * ~ [MessageFlags] | |
type AttrAllowedOps MessageFlagsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
constructMessageFlags :: [MessageFlags] -> IO ([Char], GValue) Source
getMessageFlags :: (MonadIO m, MessageK o) => o -> m [MessageFlags] Source
messageFlags :: AttrLabelProxy "flags" Source
setMessageFlags :: (MonadIO m, MessageK o) => o -> [MessageFlags] -> m () Source
HttpVersion
data MessageHttpVersionPropertyInfo Source
AttrInfo MessageHttpVersionPropertyInfo | |
type AttrLabel MessageHttpVersionPropertyInfo = "http-version" | |
type AttrGetType MessageHttpVersionPropertyInfo = HTTPVersion | |
type AttrBaseTypeConstraint MessageHttpVersionPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageHttpVersionPropertyInfo = * ~ HTTPVersion | |
type AttrAllowedOps MessageHttpVersionPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
constructMessageHttpVersion :: HTTPVersion -> IO ([Char], GValue) Source
getMessageHttpVersion :: (MonadIO m, MessageK o) => o -> m HTTPVersion Source
messageHttpVersion :: AttrLabelProxy "httpVersion" Source
setMessageHttpVersion :: (MonadIO m, MessageK o) => o -> HTTPVersion -> m () Source
Method
data MessageMethodPropertyInfo Source
AttrInfo MessageMethodPropertyInfo | |
type AttrLabel MessageMethodPropertyInfo = "method" | |
type AttrGetType MessageMethodPropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint MessageMethodPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageMethodPropertyInfo = * ~ Text | |
type AttrAllowedOps MessageMethodPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearMessageMethod :: (MonadIO m, MessageK o) => o -> m () Source
messageMethod :: AttrLabelProxy "method" Source
setMessageMethod :: (MonadIO m, MessageK o) => o -> Text -> m () Source
Priority
data MessagePriorityPropertyInfo Source
AttrInfo MessagePriorityPropertyInfo | |
type AttrLabel MessagePriorityPropertyInfo = "priority" | |
type AttrGetType MessagePriorityPropertyInfo = MessagePriority | |
type AttrBaseTypeConstraint MessagePriorityPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessagePriorityPropertyInfo = * ~ MessagePriority | |
type AttrAllowedOps MessagePriorityPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
constructMessagePriority :: MessagePriority -> IO ([Char], GValue) Source
getMessagePriority :: (MonadIO m, MessageK o) => o -> m MessagePriority Source
messagePriority :: AttrLabelProxy "priority" Source
setMessagePriority :: (MonadIO m, MessageK o) => o -> MessagePriority -> m () Source
ReasonPhrase
data MessageReasonPhrasePropertyInfo Source
AttrInfo MessageReasonPhrasePropertyInfo | |
type AttrLabel MessageReasonPhrasePropertyInfo = "reason-phrase" | |
type AttrGetType MessageReasonPhrasePropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint MessageReasonPhrasePropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageReasonPhrasePropertyInfo = * ~ Text | |
type AttrAllowedOps MessageReasonPhrasePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearMessageReasonPhrase :: (MonadIO m, MessageK o) => o -> m () Source
messageReasonPhrase :: AttrLabelProxy "reasonPhrase" Source
setMessageReasonPhrase :: (MonadIO m, MessageK o) => o -> Text -> m () Source
RequestBody
data MessageRequestBodyPropertyInfo Source
AttrInfo MessageRequestBodyPropertyInfo | |
type AttrLabel MessageRequestBodyPropertyInfo = "request-body" | |
type AttrGetType MessageRequestBodyPropertyInfo = Maybe MessageBody | |
type AttrBaseTypeConstraint MessageRequestBodyPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageRequestBodyPropertyInfo = * ~ () | |
type AttrAllowedOps MessageRequestBodyPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) |
getMessageRequestBody :: (MonadIO m, MessageK o) => o -> m (Maybe MessageBody) Source
messageRequestBody :: AttrLabelProxy "requestBody" Source
RequestBodyData
data MessageRequestBodyDataPropertyInfo Source
AttrInfo MessageRequestBodyDataPropertyInfo | |
type AttrLabel MessageRequestBodyDataPropertyInfo = "request-body-data" | |
type AttrGetType MessageRequestBodyDataPropertyInfo = Maybe Bytes | |
type AttrBaseTypeConstraint MessageRequestBodyDataPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageRequestBodyDataPropertyInfo = * ~ () | |
type AttrAllowedOps MessageRequestBodyDataPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) |
messageRequestBodyData :: AttrLabelProxy "requestBodyData" Source
RequestHeaders
data MessageRequestHeadersPropertyInfo Source
AttrInfo MessageRequestHeadersPropertyInfo | |
type AttrLabel MessageRequestHeadersPropertyInfo = "request-headers" | |
type AttrGetType MessageRequestHeadersPropertyInfo = Maybe MessageHeaders | |
type AttrBaseTypeConstraint MessageRequestHeadersPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageRequestHeadersPropertyInfo = * ~ () | |
type AttrAllowedOps MessageRequestHeadersPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) |
getMessageRequestHeaders :: (MonadIO m, MessageK o) => o -> m (Maybe MessageHeaders) Source
messageRequestHeaders :: AttrLabelProxy "requestHeaders" Source
ResponseBody
data MessageResponseBodyPropertyInfo Source
AttrInfo MessageResponseBodyPropertyInfo | |
type AttrLabel MessageResponseBodyPropertyInfo = "response-body" | |
type AttrGetType MessageResponseBodyPropertyInfo = Maybe MessageBody | |
type AttrBaseTypeConstraint MessageResponseBodyPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageResponseBodyPropertyInfo = * ~ () | |
type AttrAllowedOps MessageResponseBodyPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) |
getMessageResponseBody :: (MonadIO m, MessageK o) => o -> m (Maybe MessageBody) Source
messageResponseBody :: AttrLabelProxy "responseBody" Source
ResponseBodyData
data MessageResponseBodyDataPropertyInfo Source
AttrInfo MessageResponseBodyDataPropertyInfo | |
type AttrLabel MessageResponseBodyDataPropertyInfo = "response-body-data" | |
type AttrGetType MessageResponseBodyDataPropertyInfo = Maybe Bytes | |
type AttrBaseTypeConstraint MessageResponseBodyDataPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageResponseBodyDataPropertyInfo = * ~ () | |
type AttrAllowedOps MessageResponseBodyDataPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) |
messageResponseBodyData :: AttrLabelProxy "responseBodyData" Source
ResponseHeaders
data MessageResponseHeadersPropertyInfo Source
AttrInfo MessageResponseHeadersPropertyInfo | |
type AttrLabel MessageResponseHeadersPropertyInfo = "response-headers" | |
type AttrGetType MessageResponseHeadersPropertyInfo = Maybe MessageHeaders | |
type AttrBaseTypeConstraint MessageResponseHeadersPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageResponseHeadersPropertyInfo = * ~ () | |
type AttrAllowedOps MessageResponseHeadersPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) |
getMessageResponseHeaders :: (MonadIO m, MessageK o) => o -> m (Maybe MessageHeaders) Source
messageResponseHeaders :: AttrLabelProxy "responseHeaders" Source
ServerSide
data MessageServerSidePropertyInfo Source
AttrInfo MessageServerSidePropertyInfo | |
type AttrLabel MessageServerSidePropertyInfo = "server-side" | |
type AttrGetType MessageServerSidePropertyInfo = Bool | |
type AttrBaseTypeConstraint MessageServerSidePropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageServerSidePropertyInfo = * ~ Bool | |
type AttrAllowedOps MessageServerSidePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getMessageServerSide :: (MonadIO m, MessageK o) => o -> m Bool Source
messageServerSide :: AttrLabelProxy "serverSide" Source
StatusCode
data MessageStatusCodePropertyInfo Source
AttrInfo MessageStatusCodePropertyInfo | |
type AttrLabel MessageStatusCodePropertyInfo = "status-code" | |
type AttrGetType MessageStatusCodePropertyInfo = Word32 | |
type AttrBaseTypeConstraint MessageStatusCodePropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageStatusCodePropertyInfo = * ~ Word32 | |
type AttrAllowedOps MessageStatusCodePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getMessageStatusCode :: (MonadIO m, MessageK o) => o -> m Word32 Source
messageStatusCode :: AttrLabelProxy "statusCode" Source
setMessageStatusCode :: (MonadIO m, MessageK o) => o -> Word32 -> m () Source
TlsCertificate
data MessageTlsCertificatePropertyInfo Source
AttrInfo MessageTlsCertificatePropertyInfo | |
type AttrLabel MessageTlsCertificatePropertyInfo = "tls-certificate" | |
type AttrGetType MessageTlsCertificatePropertyInfo = Maybe TlsCertificate | |
type AttrBaseTypeConstraint MessageTlsCertificatePropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageTlsCertificatePropertyInfo = TlsCertificateK | |
type AttrAllowedOps MessageTlsCertificatePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearMessageTlsCertificate :: (MonadIO m, MessageK o) => o -> m () Source
constructMessageTlsCertificate :: TlsCertificateK a => a -> IO ([Char], GValue) Source
getMessageTlsCertificate :: (MonadIO m, MessageK o) => o -> m (Maybe TlsCertificate) Source
messageTlsCertificate :: AttrLabelProxy "tlsCertificate" Source
setMessageTlsCertificate :: (MonadIO m, MessageK o, TlsCertificateK a) => o -> a -> m () Source
TlsErrors
data MessageTlsErrorsPropertyInfo Source
AttrInfo MessageTlsErrorsPropertyInfo | |
type AttrLabel MessageTlsErrorsPropertyInfo = "tls-errors" | |
type AttrGetType MessageTlsErrorsPropertyInfo = [TlsCertificateFlags] | |
type AttrBaseTypeConstraint MessageTlsErrorsPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageTlsErrorsPropertyInfo = * ~ [TlsCertificateFlags] | |
type AttrAllowedOps MessageTlsErrorsPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
constructMessageTlsErrors :: [TlsCertificateFlags] -> IO ([Char], GValue) Source
getMessageTlsErrors :: (MonadIO m, MessageK o) => o -> m [TlsCertificateFlags] Source
messageTlsErrors :: AttrLabelProxy "tlsErrors" Source
setMessageTlsErrors :: (MonadIO m, MessageK o) => o -> [TlsCertificateFlags] -> m () Source
Uri
data MessageUriPropertyInfo Source
AttrInfo MessageUriPropertyInfo | |
type AttrLabel MessageUriPropertyInfo = "uri" | |
type AttrGetType MessageUriPropertyInfo = URI | |
type AttrBaseTypeConstraint MessageUriPropertyInfo = MessageK | |
type AttrSetTypeConstraint MessageUriPropertyInfo = * ~ URI | |
type AttrAllowedOps MessageUriPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getMessageUri :: (MonadIO m, MessageK o) => o -> m URI Source
messageUri :: AttrLabelProxy "uri" Source
setMessageUri :: (MonadIO m, MessageK o) => o -> URI -> m () Source
Signals
ContentSniffed
type MessageContentSniffedCallbackC = Ptr () -> CString -> Ptr (GHashTable CString CString) -> Ptr () -> IO () Source
afterMessageContentSniffed :: (GObject a, MonadIO m) => a -> MessageContentSniffedCallback -> m SignalHandlerId Source
messageContentSniffedCallbackWrapper :: MessageContentSniffedCallback -> Ptr () -> CString -> Ptr (GHashTable CString CString) -> Ptr () -> IO () Source
mkMessageContentSniffedCallback :: MessageContentSniffedCallbackC -> IO (FunPtr MessageContentSniffedCallbackC) Source
onMessageContentSniffed :: (GObject a, MonadIO m) => a -> MessageContentSniffedCallback -> m SignalHandlerId Source
Finished
type MessageFinishedCallback = IO () Source
type MessageFinishedCallbackC = Ptr () -> Ptr () -> IO () Source
afterMessageFinished :: (GObject a, MonadIO m) => a -> MessageFinishedCallback -> m SignalHandlerId Source
messageFinishedCallbackWrapper :: MessageFinishedCallback -> Ptr () -> Ptr () -> IO () Source
mkMessageFinishedCallback :: MessageFinishedCallbackC -> IO (FunPtr MessageFinishedCallbackC) Source
onMessageFinished :: (GObject a, MonadIO m) => a -> MessageFinishedCallback -> m SignalHandlerId Source
GotBody
type MessageGotBodyCallback = IO () Source
type MessageGotBodyCallbackC = Ptr () -> Ptr () -> IO () Source
afterMessageGotBody :: (GObject a, MonadIO m) => a -> MessageGotBodyCallback -> m SignalHandlerId Source
messageGotBodyCallbackWrapper :: MessageGotBodyCallback -> Ptr () -> Ptr () -> IO () Source
onMessageGotBody :: (GObject a, MonadIO m) => a -> MessageGotBodyCallback -> m SignalHandlerId Source
GotChunk
type MessageGotChunkCallback = Buffer -> IO () Source
afterMessageGotChunk :: (GObject a, MonadIO m) => a -> MessageGotChunkCallback -> m SignalHandlerId Source
messageGotChunkCallbackWrapper :: MessageGotChunkCallback -> Ptr () -> Ptr Buffer -> Ptr () -> IO () Source
mkMessageGotChunkCallback :: MessageGotChunkCallbackC -> IO (FunPtr MessageGotChunkCallbackC) Source
onMessageGotChunk :: (GObject a, MonadIO m) => a -> MessageGotChunkCallback -> m SignalHandlerId Source
GotHeaders
type MessageGotHeadersCallback = IO () Source
type MessageGotHeadersCallbackC = Ptr () -> Ptr () -> IO () Source
afterMessageGotHeaders :: (GObject a, MonadIO m) => a -> MessageGotHeadersCallback -> m SignalHandlerId Source
messageGotHeadersCallbackWrapper :: MessageGotHeadersCallback -> Ptr () -> Ptr () -> IO () Source
mkMessageGotHeadersCallback :: MessageGotHeadersCallbackC -> IO (FunPtr MessageGotHeadersCallbackC) Source
onMessageGotHeaders :: (GObject a, MonadIO m) => a -> MessageGotHeadersCallback -> m SignalHandlerId Source
GotInformational
type MessageGotInformationalCallback = IO () Source
type MessageGotInformationalCallbackC = Ptr () -> Ptr () -> IO () Source
afterMessageGotInformational :: (GObject a, MonadIO m) => a -> MessageGotInformationalCallback -> m SignalHandlerId Source
messageGotInformationalCallbackWrapper :: MessageGotInformationalCallback -> Ptr () -> Ptr () -> IO () Source
mkMessageGotInformationalCallback :: MessageGotInformationalCallbackC -> IO (FunPtr MessageGotInformationalCallbackC) Source
onMessageGotInformational :: (GObject a, MonadIO m) => a -> MessageGotInformationalCallback -> m SignalHandlerId Source
NetworkEvent
type MessageNetworkEventCallback = SocketClientEvent -> IOStream -> IO () Source
afterMessageNetworkEvent :: (GObject a, MonadIO m) => a -> MessageNetworkEventCallback -> m SignalHandlerId Source
messageNetworkEventCallbackWrapper :: MessageNetworkEventCallback -> Ptr () -> CUInt -> Ptr IOStream -> Ptr () -> IO () Source
mkMessageNetworkEventCallback :: MessageNetworkEventCallbackC -> IO (FunPtr MessageNetworkEventCallbackC) Source
onMessageNetworkEvent :: (GObject a, MonadIO m) => a -> MessageNetworkEventCallback -> m SignalHandlerId Source
Restarted
type MessageRestartedCallback = IO () Source
type MessageRestartedCallbackC = Ptr () -> Ptr () -> IO () Source
afterMessageRestarted :: (GObject a, MonadIO m) => a -> MessageRestartedCallback -> m SignalHandlerId Source
messageRestartedCallbackWrapper :: MessageRestartedCallback -> Ptr () -> Ptr () -> IO () Source
mkMessageRestartedCallback :: MessageRestartedCallbackC -> IO (FunPtr MessageRestartedCallbackC) Source
onMessageRestarted :: (GObject a, MonadIO m) => a -> MessageRestartedCallback -> m SignalHandlerId Source
Starting
type MessageStartingCallback = IO () Source
type MessageStartingCallbackC = Ptr () -> Ptr () -> IO () Source
afterMessageStarting :: (GObject a, MonadIO m) => a -> MessageStartingCallback -> m SignalHandlerId Source
messageStartingCallbackWrapper :: MessageStartingCallback -> Ptr () -> Ptr () -> IO () Source
mkMessageStartingCallback :: MessageStartingCallbackC -> IO (FunPtr MessageStartingCallbackC) Source
onMessageStarting :: (GObject a, MonadIO m) => a -> MessageStartingCallback -> m SignalHandlerId Source
WroteBody
type MessageWroteBodyCallback = IO () Source
type MessageWroteBodyCallbackC = Ptr () -> Ptr () -> IO () Source
afterMessageWroteBody :: (GObject a, MonadIO m) => a -> MessageWroteBodyCallback -> m SignalHandlerId Source
messageWroteBodyCallbackWrapper :: MessageWroteBodyCallback -> Ptr () -> Ptr () -> IO () Source
mkMessageWroteBodyCallback :: MessageWroteBodyCallbackC -> IO (FunPtr MessageWroteBodyCallbackC) Source
onMessageWroteBody :: (GObject a, MonadIO m) => a -> MessageWroteBodyCallback -> m SignalHandlerId Source
WroteBodyData
type MessageWroteBodyDataCallback = Buffer -> IO () Source
afterMessageWroteBodyData :: (GObject a, MonadIO m) => a -> MessageWroteBodyDataCallback -> m SignalHandlerId Source
messageWroteBodyDataCallbackWrapper :: MessageWroteBodyDataCallback -> Ptr () -> Ptr Buffer -> Ptr () -> IO () Source
mkMessageWroteBodyDataCallback :: MessageWroteBodyDataCallbackC -> IO (FunPtr MessageWroteBodyDataCallbackC) Source
onMessageWroteBodyData :: (GObject a, MonadIO m) => a -> MessageWroteBodyDataCallback -> m SignalHandlerId Source
WroteChunk
type MessageWroteChunkCallback = IO () Source
type MessageWroteChunkCallbackC = Ptr () -> Ptr () -> IO () Source
afterMessageWroteChunk :: (GObject a, MonadIO m) => a -> MessageWroteChunkCallback -> m SignalHandlerId Source
messageWroteChunkCallbackWrapper :: MessageWroteChunkCallback -> Ptr () -> Ptr () -> IO () Source
mkMessageWroteChunkCallback :: MessageWroteChunkCallbackC -> IO (FunPtr MessageWroteChunkCallbackC) Source
onMessageWroteChunk :: (GObject a, MonadIO m) => a -> MessageWroteChunkCallback -> m SignalHandlerId Source
WroteHeaders
type MessageWroteHeadersCallback = IO () Source
type MessageWroteHeadersCallbackC = Ptr () -> Ptr () -> IO () Source
afterMessageWroteHeaders :: (GObject a, MonadIO m) => a -> MessageWroteHeadersCallback -> m SignalHandlerId Source
messageWroteHeadersCallbackWrapper :: MessageWroteHeadersCallback -> Ptr () -> Ptr () -> IO () Source
mkMessageWroteHeadersCallback :: MessageWroteHeadersCallbackC -> IO (FunPtr MessageWroteHeadersCallbackC) Source
onMessageWroteHeaders :: (GObject a, MonadIO m) => a -> MessageWroteHeadersCallback -> m SignalHandlerId Source
WroteInformational
type MessageWroteInformationalCallback = IO () Source
type MessageWroteInformationalCallbackC = Ptr () -> Ptr () -> IO () Source
afterMessageWroteInformational :: (GObject a, MonadIO m) => a -> MessageWroteInformationalCallback -> m SignalHandlerId Source
messageWroteInformationalCallbackWrapper :: MessageWroteInformationalCallback -> Ptr () -> Ptr () -> IO () Source
mkMessageWroteInformationalCallback :: MessageWroteInformationalCallbackC -> IO (FunPtr MessageWroteInformationalCallbackC) Source
onMessageWroteInformational :: (GObject a, MonadIO m) => a -> MessageWroteInformationalCallback -> m SignalHandlerId Source