gi-soup-0.2.52.15: Soup bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Soup.Objects.Message

Contents

Description

 

Synopsis

Exported types

newtype Message Source

Constructors

Message (ForeignPtr Message) 

Instances

GObject Message 
((~) * info (ResolveMessageMethod t Message), MethodInfo * info Message p) => IsLabelProxy t (Message -> p) 
type ParentTypes Message 
type AttributeList Message 
type SignalList Message 

class GObject o => MessageK o Source

Instances

Methods

messageContentSniffed

data MessageContentSniffedMethodInfo Source

Instances

((~) * 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

Instances

((~) * signature (GType -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageDisableFeatureMethodInfo a signature 

messageFinished

data MessageFinishedMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageFinishedMethodInfo a signature 

messageFinished :: (MonadIO m, MessageK a) => a -> m () Source

messageGetAddress

data MessageGetAddressMethodInfo Source

Instances

((~) * signature (m Address), MonadIO m, MessageK a) => MethodInfo * MessageGetAddressMethodInfo a signature 

messageGetFirstParty

data MessageGetFirstPartyMethodInfo Source

Instances

((~) * signature (m URI), MonadIO m, MessageK a) => MethodInfo * MessageGetFirstPartyMethodInfo a signature 

messageGetFlags

data MessageGetFlagsMethodInfo Source

Instances

((~) * signature (m [MessageFlags]), MonadIO m, MessageK a) => MethodInfo * MessageGetFlagsMethodInfo a signature 

messageGetHttpVersion

messageGetHttpsStatus

messageGetPriority

messageGetSoupRequest

messageGetUri

data MessageGetUriMethodInfo Source

Instances

((~) * signature (m URI), MonadIO m, MessageK a) => MethodInfo * MessageGetUriMethodInfo a signature 

messageGotBody

data MessageGotBodyMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageGotBodyMethodInfo a signature 

messageGotBody :: (MonadIO m, MessageK a) => a -> m () Source

messageGotChunk

data MessageGotChunkMethodInfo Source

Instances

((~) * signature (Buffer -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageGotChunkMethodInfo a signature 

messageGotChunk :: (MonadIO m, MessageK a) => a -> Buffer -> m () Source

messageGotHeaders

data MessageGotHeadersMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageGotHeadersMethodInfo a signature 

messageGotHeaders :: (MonadIO m, MessageK a) => a -> m () Source

messageGotInformational

data MessageGotInformationalMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageGotInformationalMethodInfo a signature 

messageIsKeepalive

data MessageIsKeepaliveMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, MessageK a) => MethodInfo * MessageIsKeepaliveMethodInfo a signature 

messageNew

messageNewFromUri

messageRestarted

data MessageRestartedMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageRestartedMethodInfo a signature 

messageRestarted :: (MonadIO m, MessageK a) => a -> m () Source

messageSetChunkAllocator

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

Instances

((~) * signature (URI -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetFirstPartyMethodInfo a signature 

messageSetFirstParty :: (MonadIO m, MessageK a) => a -> URI -> m () Source

messageSetFlags

data MessageSetFlagsMethodInfo Source

Instances

((~) * signature ([MessageFlags] -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetFlagsMethodInfo a signature 

messageSetFlags :: (MonadIO m, MessageK a) => a -> [MessageFlags] -> m () Source

messageSetHttpVersion

data MessageSetHttpVersionMethodInfo Source

Instances

((~) * signature (HTTPVersion -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetHttpVersionMethodInfo a signature 

messageSetPriority

data MessageSetPriorityMethodInfo Source

Instances

((~) * signature (MessagePriority -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetPriorityMethodInfo a signature 

messageSetRedirect

data MessageSetRedirectMethodInfo Source

Instances

((~) * signature (Word32 -> Text -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetRedirectMethodInfo a signature 

messageSetRedirect :: (MonadIO m, MessageK a) => a -> Word32 -> Text -> m () Source

messageSetRequest

data MessageSetRequestMethodInfo Source

Instances

((~) * signature (Maybe Text -> MemoryUse -> Maybe ByteString -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetRequestMethodInfo a signature 

messageSetResponse

data MessageSetResponseMethodInfo Source

Instances

((~) * signature (Maybe Text -> MemoryUse -> Maybe ByteString -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetResponseMethodInfo a signature 

messageSetStatus

data MessageSetStatusMethodInfo Source

Instances

((~) * signature (Word32 -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetStatusMethodInfo a signature 

messageSetStatus :: (MonadIO m, MessageK a) => a -> Word32 -> m () Source

messageSetStatusFull

data MessageSetStatusFullMethodInfo Source

Instances

((~) * signature (Word32 -> Text -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetStatusFullMethodInfo a signature 

messageSetStatusFull :: (MonadIO m, MessageK a) => a -> Word32 -> Text -> m () Source

messageSetUri

data MessageSetUriMethodInfo Source

Instances

((~) * signature (URI -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageSetUriMethodInfo a signature 

messageSetUri :: (MonadIO m, MessageK a) => a -> URI -> m () Source

messageStarting

data MessageStartingMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageStartingMethodInfo a signature 

messageStarting :: (MonadIO m, MessageK a) => a -> m () Source

messageWroteBody

data MessageWroteBodyMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageWroteBodyMethodInfo a signature 

messageWroteBody :: (MonadIO m, MessageK a) => a -> m () Source

messageWroteBodyData

data MessageWroteBodyDataMethodInfo Source

Instances

((~) * signature (Buffer -> m ()), MonadIO m, MessageK a) => MethodInfo * MessageWroteBodyDataMethodInfo a signature 

messageWroteChunk

data MessageWroteChunkMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageWroteChunkMethodInfo a signature 

messageWroteChunk :: (MonadIO m, MessageK a) => a -> m () Source

messageWroteHeaders

data MessageWroteHeadersMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageWroteHeadersMethodInfo a signature 

messageWroteInformational

data MessageWroteInformationalMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, MessageK a) => MethodInfo * MessageWroteInformationalMethodInfo a signature 

Properties

FirstParty

setMessageFirstParty :: (MonadIO m, MessageK o) => o -> URI -> m () Source

Flags

setMessageFlags :: (MonadIO m, MessageK o) => o -> [MessageFlags] -> m () Source

HttpVersion

Method

clearMessageMethod :: (MonadIO m, MessageK o) => o -> m () Source

setMessageMethod :: (MonadIO m, MessageK o) => o -> Text -> m () Source

Priority

ReasonPhrase

RequestBody

RequestBodyData

RequestHeaders

ResponseBody

ResponseBodyData

ResponseHeaders

ServerSide

StatusCode

TlsCertificate

TlsErrors

Uri

setMessageUri :: (MonadIO m, MessageK o) => o -> URI -> m () Source

Signals

ContentSniffed

Finished

type MessageFinishedCallbackC = Ptr () -> Ptr () -> IO () Source

GotBody

type MessageGotBodyCallbackC = Ptr () -> Ptr () -> IO () Source

GotChunk

GotHeaders

GotInformational

NetworkEvent

Restarted

type MessageRestartedCallbackC = Ptr () -> Ptr () -> IO () Source

Starting

type MessageStartingCallbackC = Ptr () -> Ptr () -> IO () Source

WroteBody

type MessageWroteBodyCallbackC = Ptr () -> Ptr () -> IO () Source

WroteBodyData

WroteChunk

WroteHeaders

WroteInformational