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.Server

Contents

Description

 

Synopsis

Exported types

newtype Server Source

Constructors

Server (ForeignPtr Server) 

Instances

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

class GObject o => ServerK o Source

Instances

Methods

serverAcceptIostream

data ServerAcceptIostreamMethodInfo Source

Instances

((~) * signature (b -> Maybe c -> Maybe d -> m ()), MonadIO m, ServerK a, IOStreamK b, SocketAddressK c, SocketAddressK d) => MethodInfo * ServerAcceptIostreamMethodInfo a signature 

serverAddAuthDomain

data ServerAddAuthDomainMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, ServerK a, AuthDomainK b) => MethodInfo * ServerAddAuthDomainMethodInfo a signature 

serverAddAuthDomain :: (MonadIO m, ServerK a, AuthDomainK b) => a -> b -> m () Source

serverAddEarlyHandler

data ServerAddEarlyHandlerMethodInfo Source

Instances

((~) * signature (Maybe Text -> ServerCallback -> m ()), MonadIO m, ServerK a) => MethodInfo * ServerAddEarlyHandlerMethodInfo a signature 

serverAddHandler

data ServerAddHandlerMethodInfo Source

Instances

((~) * signature (Maybe Text -> ServerCallback -> m ()), MonadIO m, ServerK a) => MethodInfo * ServerAddHandlerMethodInfo a signature 

serverAddWebsocketHandler

serverDisconnect

data ServerDisconnectMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, ServerK a) => MethodInfo * ServerDisconnectMethodInfo a signature 

serverDisconnect :: (MonadIO m, ServerK a) => a -> m () Source

serverGetAsyncContext

serverGetAsyncContext :: (MonadIO m, ServerK a) => a -> m (Maybe MainContext) Source

Deprecated: If you are using soup_server_listen(), etc, thenthe server listens on the thread-default #GMainContext, and thisproperty is ignored.

serverGetListener

data ServerGetListenerMethodInfo Source

Instances

((~) * signature (m Socket), MonadIO m, ServerK a) => MethodInfo * ServerGetListenerMethodInfo a signature 

serverGetListener :: (MonadIO m, ServerK a) => a -> m Socket Source

Deprecated: If you are using soup_server_listen(), etc, then usesoup_server_get_listeners() to get a list of all listening sockets,but note that that function returns SoupSockets.

serverGetListeners

data ServerGetListenersMethodInfo Source

Instances

((~) * signature (m [Socket]), MonadIO m, ServerK a) => MethodInfo * ServerGetListenersMethodInfo a signature 

serverGetPort

data ServerGetPortMethodInfo Source

Instances

((~) * signature (m Word32), MonadIO m, ServerK a) => MethodInfo * ServerGetPortMethodInfo a signature 

serverGetPort :: (MonadIO m, ServerK a) => a -> m Word32 Source

Deprecated: If you are using soup_server_listen(), etc, then usesoup_server_get_uris() to get a list of all listening addresses.

serverGetUris

data ServerGetUrisMethodInfo Source

Instances

((~) * signature (m [URI]), MonadIO m, ServerK a) => MethodInfo * ServerGetUrisMethodInfo a signature 

serverGetUris :: (MonadIO m, ServerK a) => a -> m [URI] Source

serverIsHttps

data ServerIsHttpsMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, ServerK a) => MethodInfo * ServerIsHttpsMethodInfo a signature 

serverListen

data ServerListenMethodInfo Source

Instances

((~) * signature (b -> [ServerListenOptions] -> m ()), MonadIO m, ServerK a, SocketAddressK b) => MethodInfo * ServerListenMethodInfo a signature 

serverListenAll

data ServerListenAllMethodInfo Source

Instances

((~) * signature (Word32 -> [ServerListenOptions] -> m ()), MonadIO m, ServerK a) => MethodInfo * ServerListenAllMethodInfo a signature 

serverListenFd

data ServerListenFdMethodInfo Source

Instances

((~) * signature (Int32 -> [ServerListenOptions] -> m ()), MonadIO m, ServerK a) => MethodInfo * ServerListenFdMethodInfo a signature 

serverListenLocal

data ServerListenLocalMethodInfo Source

Instances

((~) * signature (Word32 -> [ServerListenOptions] -> m ()), MonadIO m, ServerK a) => MethodInfo * ServerListenLocalMethodInfo a signature 

serverListenSocket

data ServerListenSocketMethodInfo Source

Instances

((~) * signature (b -> [ServerListenOptions] -> m ()), MonadIO m, ServerK a, SocketK b) => MethodInfo * ServerListenSocketMethodInfo a signature 

serverPauseMessage

data ServerPauseMessageMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, ServerK a, MessageK b) => MethodInfo * ServerPauseMessageMethodInfo a signature 

serverPauseMessage :: (MonadIO m, ServerK a, MessageK b) => a -> b -> m () Source

serverQuit

data ServerQuitMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, ServerK a) => MethodInfo * ServerQuitMethodInfo a signature 

serverQuit :: (MonadIO m, ServerK a) => a -> m () Source

Deprecated: When using soup_server_listen(), etc, the server willalways listen for connections, and will process them whenever thethread-default #GMainContext is running.

serverRemoveAuthDomain

data ServerRemoveAuthDomainMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, ServerK a, AuthDomainK b) => MethodInfo * ServerRemoveAuthDomainMethodInfo a signature 

serverRemoveHandler

data ServerRemoveHandlerMethodInfo Source

Instances

((~) * signature (Text -> m ()), MonadIO m, ServerK a) => MethodInfo * ServerRemoveHandlerMethodInfo a signature 

serverRemoveHandler :: (MonadIO m, ServerK a) => a -> Text -> m () Source

serverRun

data ServerRunMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, ServerK a) => MethodInfo * ServerRunMethodInfo a signature 

serverRun :: (MonadIO m, ServerK a) => a -> m () Source

Deprecated: When using soup_server_listen(), etc, the server willalways listen for connections, and will process them whenever thethread-default #GMainContext is running.

serverRunAsync

data ServerRunAsyncMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m, ServerK a) => MethodInfo * ServerRunAsyncMethodInfo a signature 

serverRunAsync :: (MonadIO m, ServerK a) => a -> m () Source

Deprecated: When using soup_server_listen(), etc, the server willalways listen for connections, and will process them whenever thethread-default #GMainContext is running.

serverSetSslCertFile

data ServerSetSslCertFileMethodInfo Source

Instances

((~) * signature (Text -> Text -> m ()), MonadIO m, ServerK a) => MethodInfo * ServerSetSslCertFileMethodInfo a signature 

serverSetSslCertFile :: (MonadIO m, ServerK a) => a -> Text -> Text -> m () Source

serverUnpauseMessage

data ServerUnpauseMessageMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, ServerK a, MessageK b) => MethodInfo * ServerUnpauseMessageMethodInfo a signature 

serverUnpauseMessage :: (MonadIO m, ServerK a, MessageK b) => a -> b -> m () Source

Properties

AsyncContext

HttpAliases

setServerHttpAliases :: (MonadIO m, ServerK o) => o -> [Text] -> m () Source

HttpsAliases

setServerHttpsAliases :: (MonadIO m, ServerK o) => o -> [Text] -> m () Source

Interface

Port

RawPaths

ServerHeader

setServerServerHeader :: (MonadIO m, ServerK o) => o -> Text -> m () Source

SslCertFile

SslKeyFile

TlsCertificate

Signals

RequestAborted

RequestFinished

RequestRead

RequestStarted