gi-soup-2.4.7: Libsoup 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 (ManagedPtr Server) 

Instances

GObject Server Source # 
IsObject Server Source # 
IsServer Server Source # 
((~) * info (ResolveServerMethod t Server), MethodInfo * info Server p) => IsLabel t (Server -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Server -> p #

((~) * info (ResolveServerMethod t Server), MethodInfo * info Server p) => IsLabelProxy t (Server -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Server -> p

HasAttributeList * Server Source # 
type SignalList Server Source # 
type SignalList Server
type AttributeList Server Source # 
type AttributeList Server

class GObject o => IsServer o Source #

Instances

(GObject a, UnknownAncestorError Constraint Server a) => IsServer a Source # 
IsServer Server Source # 

Methods

acceptIostream

data ServerAcceptIostreamMethodInfo Source #

Instances

((~) * signature (b -> Maybe c -> Maybe d -> m ()), MonadIO m, IsServer a, IsIOStream b, IsSocketAddress c, IsSocketAddress d) => MethodInfo * ServerAcceptIostreamMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerAcceptIostreamMethodInfo a -> signature -> s

serverAcceptIostream :: (MonadIO m, IsServer a, IsIOStream b, IsSocketAddress c, IsSocketAddress d) => a -> b -> Maybe c -> Maybe d -> m () Source #

addAuthDomain

data ServerAddAuthDomainMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsServer a, IsAuthDomain b) => MethodInfo * ServerAddAuthDomainMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerAddAuthDomainMethodInfo a -> signature -> s

serverAddAuthDomain :: (MonadIO m, IsServer a, IsAuthDomain b) => a -> b -> m () Source #

addEarlyHandler

data ServerAddEarlyHandlerMethodInfo Source #

Instances

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

Methods

overloadedMethod :: MethodProxy ServerAddEarlyHandlerMethodInfo a -> signature -> s

addHandler

data ServerAddHandlerMethodInfo Source #

Instances

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

Methods

overloadedMethod :: MethodProxy ServerAddHandlerMethodInfo a -> signature -> s

serverAddHandler :: (MonadIO m, IsServer a) => a -> Maybe Text -> ServerCallback -> m () Source #

addWebsocketHandler

data ServerAddWebsocketHandlerMethodInfo Source #

Instances

((~) * signature (Maybe Text -> Maybe Text -> Maybe [Text] -> ServerWebsocketCallback -> m ()), MonadIO m, IsServer a) => MethodInfo * ServerAddWebsocketHandlerMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerAddWebsocketHandlerMethodInfo a -> signature -> s

serverAddWebsocketHandler :: (MonadIO m, IsServer a) => a -> Maybe Text -> Maybe Text -> Maybe [Text] -> ServerWebsocketCallback -> m () Source #

disconnect

data ServerDisconnectMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsServer a) => MethodInfo * ServerDisconnectMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerDisconnectMethodInfo a -> signature -> s

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

getAsyncContext

data ServerGetAsyncContextMethodInfo Source #

Instances

((~) * signature (m (Maybe MainContext)), MonadIO m, IsServer a) => MethodInfo * ServerGetAsyncContextMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerGetAsyncContextMethodInfo a -> signature -> s

serverGetAsyncContext :: (MonadIO m, IsServer 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.

getListener

data ServerGetListenerMethodInfo Source #

Instances

((~) * signature (m Socket), MonadIO m, IsServer a) => MethodInfo * ServerGetListenerMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerGetListenerMethodInfo a -> signature -> s

serverGetListener :: (MonadIO m, IsServer 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.

getListeners

data ServerGetListenersMethodInfo Source #

Instances

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

Methods

overloadedMethod :: MethodProxy ServerGetListenersMethodInfo a -> signature -> s

serverGetListeners :: (MonadIO m, IsServer a) => a -> m [Socket] Source #

getPort

data ServerGetPortMethodInfo Source #

Instances

((~) * signature (m Word32), MonadIO m, IsServer a) => MethodInfo * ServerGetPortMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerGetPortMethodInfo a -> signature -> s

serverGetPort :: (MonadIO m, IsServer 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.

getUris

data ServerGetUrisMethodInfo Source #

Instances

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

Methods

overloadedMethod :: MethodProxy ServerGetUrisMethodInfo a -> signature -> s

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

isHttps

data ServerIsHttpsMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsServer a) => MethodInfo * ServerIsHttpsMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerIsHttpsMethodInfo a -> signature -> s

listen

data ServerListenMethodInfo Source #

Instances

((~) * signature (b -> [ServerListenOptions] -> m ()), MonadIO m, IsServer a, IsSocketAddress b) => MethodInfo * ServerListenMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerListenMethodInfo a -> signature -> s

serverListen :: (MonadIO m, IsServer a, IsSocketAddress b) => a -> b -> [ServerListenOptions] -> m () Source #

listenAll

data ServerListenAllMethodInfo Source #

Instances

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

Methods

overloadedMethod :: MethodProxy ServerListenAllMethodInfo a -> signature -> s

listenFd

data ServerListenFdMethodInfo Source #

Instances

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

Methods

overloadedMethod :: MethodProxy ServerListenFdMethodInfo a -> signature -> s

listenLocal

data ServerListenLocalMethodInfo Source #

Instances

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

Methods

overloadedMethod :: MethodProxy ServerListenLocalMethodInfo a -> signature -> s

listenSocket

data ServerListenSocketMethodInfo Source #

Instances

((~) * signature (b -> [ServerListenOptions] -> m ()), MonadIO m, IsServer a, IsSocket b) => MethodInfo * ServerListenSocketMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerListenSocketMethodInfo a -> signature -> s

serverListenSocket :: (MonadIO m, IsServer a, IsSocket b) => a -> b -> [ServerListenOptions] -> m () Source #

pauseMessage

data ServerPauseMessageMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsServer a, IsMessage b) => MethodInfo * ServerPauseMessageMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerPauseMessageMethodInfo a -> signature -> s

serverPauseMessage :: (MonadIO m, IsServer a, IsMessage b) => a -> b -> m () Source #

quit

data ServerQuitMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsServer a) => MethodInfo * ServerQuitMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerQuitMethodInfo a -> signature -> s

serverQuit :: (MonadIO m, IsServer 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.

removeAuthDomain

data ServerRemoveAuthDomainMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsServer a, IsAuthDomain b) => MethodInfo * ServerRemoveAuthDomainMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerRemoveAuthDomainMethodInfo a -> signature -> s

removeHandler

data ServerRemoveHandlerMethodInfo Source #

Instances

((~) * signature (Text -> m ()), MonadIO m, IsServer a) => MethodInfo * ServerRemoveHandlerMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerRemoveHandlerMethodInfo a -> signature -> s

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

run

data ServerRunMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsServer a) => MethodInfo * ServerRunMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerRunMethodInfo a -> signature -> s

serverRun :: (MonadIO m, IsServer 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.

runAsync

data ServerRunAsyncMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsServer a) => MethodInfo * ServerRunAsyncMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerRunAsyncMethodInfo a -> signature -> s

serverRunAsync :: (MonadIO m, IsServer 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.

setSslCertFile

data ServerSetSslCertFileMethodInfo Source #

Instances

((~) * signature (Text -> Text -> m ()), MonadIO m, IsServer a) => MethodInfo * ServerSetSslCertFileMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerSetSslCertFileMethodInfo a -> signature -> s

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

unpauseMessage

data ServerUnpauseMessageMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsServer a, IsMessage b) => MethodInfo * ServerUnpauseMessageMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy ServerUnpauseMessageMethodInfo a -> signature -> s

serverUnpauseMessage :: (MonadIO m, IsServer a, IsMessage b) => a -> b -> m () Source #

Properties

asyncContext

data ServerAsyncContextPropertyInfo Source #

Instances

AttrInfo ServerAsyncContextPropertyInfo Source # 

Associated Types

type AttrAllowedOps ServerAsyncContextPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ServerAsyncContextPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ServerAsyncContextPropertyInfo :: * -> Constraint

type AttrGetType ServerAsyncContextPropertyInfo :: *

type AttrLabel ServerAsyncContextPropertyInfo :: Symbol

type AttrOrigin ServerAsyncContextPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ServerAsyncContextPropertyInfo o => Proxy * ServerAsyncContextPropertyInfo -> o -> IO (AttrGetType ServerAsyncContextPropertyInfo)

attrSet :: (AttrBaseTypeConstraint ServerAsyncContextPropertyInfo o, AttrSetTypeConstraint ServerAsyncContextPropertyInfo b) => Proxy * ServerAsyncContextPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ServerAsyncContextPropertyInfo o => Proxy * ServerAsyncContextPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ServerAsyncContextPropertyInfo o, AttrSetTypeConstraint ServerAsyncContextPropertyInfo b) => Proxy * ServerAsyncContextPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ServerAsyncContextPropertyInfo Source # 
type AttrSetTypeConstraint ServerAsyncContextPropertyInfo = * ~ Ptr ()
type AttrOrigin ServerAsyncContextPropertyInfo Source # 
type AttrLabel ServerAsyncContextPropertyInfo Source # 
type AttrLabel ServerAsyncContextPropertyInfo = "async-context"
type AttrGetType ServerAsyncContextPropertyInfo Source # 
type AttrGetType ServerAsyncContextPropertyInfo = Ptr ()
type AttrBaseTypeConstraint ServerAsyncContextPropertyInfo Source # 
type AttrBaseTypeConstraint ServerAsyncContextPropertyInfo = IsServer
type AttrAllowedOps ServerAsyncContextPropertyInfo Source # 
type AttrAllowedOps ServerAsyncContextPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

constructServerAsyncContext :: IsServer o => Ptr () -> IO (GValueConstruct o) Source #

serverAsyncContext :: AttrLabelProxy "asyncContext" Source #

httpAliases

data ServerHttpAliasesPropertyInfo Source #

Instances

AttrInfo ServerHttpAliasesPropertyInfo Source # 

Associated Types

type AttrAllowedOps ServerHttpAliasesPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ServerHttpAliasesPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ServerHttpAliasesPropertyInfo :: * -> Constraint

type AttrGetType ServerHttpAliasesPropertyInfo :: *

type AttrLabel ServerHttpAliasesPropertyInfo :: Symbol

type AttrOrigin ServerHttpAliasesPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ServerHttpAliasesPropertyInfo o => Proxy * ServerHttpAliasesPropertyInfo -> o -> IO (AttrGetType ServerHttpAliasesPropertyInfo)

attrSet :: (AttrBaseTypeConstraint ServerHttpAliasesPropertyInfo o, AttrSetTypeConstraint ServerHttpAliasesPropertyInfo b) => Proxy * ServerHttpAliasesPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ServerHttpAliasesPropertyInfo o => Proxy * ServerHttpAliasesPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ServerHttpAliasesPropertyInfo o, AttrSetTypeConstraint ServerHttpAliasesPropertyInfo b) => Proxy * ServerHttpAliasesPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ServerHttpAliasesPropertyInfo Source # 
type AttrSetTypeConstraint ServerHttpAliasesPropertyInfo = * ~ [Text]
type AttrOrigin ServerHttpAliasesPropertyInfo Source # 
type AttrLabel ServerHttpAliasesPropertyInfo Source # 
type AttrLabel ServerHttpAliasesPropertyInfo = "http-aliases"
type AttrGetType ServerHttpAliasesPropertyInfo Source # 
type AttrGetType ServerHttpAliasesPropertyInfo = Maybe [Text]
type AttrBaseTypeConstraint ServerHttpAliasesPropertyInfo Source # 
type AttrBaseTypeConstraint ServerHttpAliasesPropertyInfo = IsServer
type AttrAllowedOps ServerHttpAliasesPropertyInfo Source # 
type AttrAllowedOps ServerHttpAliasesPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))))

constructServerHttpAliases :: IsServer o => [Text] -> IO (GValueConstruct o) Source #

getServerHttpAliases :: (MonadIO m, IsServer o) => o -> m (Maybe [Text]) Source #

serverHttpAliases :: AttrLabelProxy "httpAliases" Source #

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

httpsAliases

data ServerHttpsAliasesPropertyInfo Source #

Instances

AttrInfo ServerHttpsAliasesPropertyInfo Source # 

Associated Types

type AttrAllowedOps ServerHttpsAliasesPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ServerHttpsAliasesPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ServerHttpsAliasesPropertyInfo :: * -> Constraint

type AttrGetType ServerHttpsAliasesPropertyInfo :: *

type AttrLabel ServerHttpsAliasesPropertyInfo :: Symbol

type AttrOrigin ServerHttpsAliasesPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ServerHttpsAliasesPropertyInfo o => Proxy * ServerHttpsAliasesPropertyInfo -> o -> IO (AttrGetType ServerHttpsAliasesPropertyInfo)

attrSet :: (AttrBaseTypeConstraint ServerHttpsAliasesPropertyInfo o, AttrSetTypeConstraint ServerHttpsAliasesPropertyInfo b) => Proxy * ServerHttpsAliasesPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ServerHttpsAliasesPropertyInfo o => Proxy * ServerHttpsAliasesPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ServerHttpsAliasesPropertyInfo o, AttrSetTypeConstraint ServerHttpsAliasesPropertyInfo b) => Proxy * ServerHttpsAliasesPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ServerHttpsAliasesPropertyInfo Source # 
type AttrSetTypeConstraint ServerHttpsAliasesPropertyInfo = * ~ [Text]
type AttrOrigin ServerHttpsAliasesPropertyInfo Source # 
type AttrLabel ServerHttpsAliasesPropertyInfo Source # 
type AttrLabel ServerHttpsAliasesPropertyInfo = "https-aliases"
type AttrGetType ServerHttpsAliasesPropertyInfo Source # 
type AttrGetType ServerHttpsAliasesPropertyInfo = Maybe [Text]
type AttrBaseTypeConstraint ServerHttpsAliasesPropertyInfo Source # 
type AttrBaseTypeConstraint ServerHttpsAliasesPropertyInfo = IsServer
type AttrAllowedOps ServerHttpsAliasesPropertyInfo Source # 
type AttrAllowedOps ServerHttpsAliasesPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))))

constructServerHttpsAliases :: IsServer o => [Text] -> IO (GValueConstruct o) Source #

getServerHttpsAliases :: (MonadIO m, IsServer o) => o -> m (Maybe [Text]) Source #

serverHttpsAliases :: AttrLabelProxy "httpsAliases" Source #

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

interface

data ServerInterfacePropertyInfo Source #

Instances

AttrInfo ServerInterfacePropertyInfo Source # 

Associated Types

type AttrAllowedOps ServerInterfacePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ServerInterfacePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ServerInterfacePropertyInfo :: * -> Constraint

type AttrGetType ServerInterfacePropertyInfo :: *

type AttrLabel ServerInterfacePropertyInfo :: Symbol

type AttrOrigin ServerInterfacePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ServerInterfacePropertyInfo o => Proxy * ServerInterfacePropertyInfo -> o -> IO (AttrGetType ServerInterfacePropertyInfo)

attrSet :: (AttrBaseTypeConstraint ServerInterfacePropertyInfo o, AttrSetTypeConstraint ServerInterfacePropertyInfo b) => Proxy * ServerInterfacePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ServerInterfacePropertyInfo o => Proxy * ServerInterfacePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ServerInterfacePropertyInfo o, AttrSetTypeConstraint ServerInterfacePropertyInfo b) => Proxy * ServerInterfacePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ServerInterfacePropertyInfo Source # 
type AttrSetTypeConstraint ServerInterfacePropertyInfo = IsAddress
type AttrOrigin ServerInterfacePropertyInfo Source # 
type AttrLabel ServerInterfacePropertyInfo Source # 
type AttrLabel ServerInterfacePropertyInfo = "interface"
type AttrGetType ServerInterfacePropertyInfo Source # 
type AttrBaseTypeConstraint ServerInterfacePropertyInfo Source # 
type AttrBaseTypeConstraint ServerInterfacePropertyInfo = IsServer
type AttrAllowedOps ServerInterfacePropertyInfo Source # 
type AttrAllowedOps ServerInterfacePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructServerInterface :: (IsServer o, IsAddress a) => a -> IO (GValueConstruct o) Source #

serverInterface :: AttrLabelProxy "interface" Source #

port

data ServerPortPropertyInfo Source #

Instances

AttrInfo ServerPortPropertyInfo Source # 

Associated Types

type AttrAllowedOps ServerPortPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ServerPortPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ServerPortPropertyInfo :: * -> Constraint

type AttrGetType ServerPortPropertyInfo :: *

type AttrLabel ServerPortPropertyInfo :: Symbol

type AttrOrigin ServerPortPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ServerPortPropertyInfo o => Proxy * ServerPortPropertyInfo -> o -> IO (AttrGetType ServerPortPropertyInfo)

attrSet :: (AttrBaseTypeConstraint ServerPortPropertyInfo o, AttrSetTypeConstraint ServerPortPropertyInfo b) => Proxy * ServerPortPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ServerPortPropertyInfo o => Proxy * ServerPortPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ServerPortPropertyInfo o, AttrSetTypeConstraint ServerPortPropertyInfo b) => Proxy * ServerPortPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ServerPortPropertyInfo Source # 
type AttrSetTypeConstraint ServerPortPropertyInfo = * ~ Word32
type AttrOrigin ServerPortPropertyInfo Source # 
type AttrOrigin ServerPortPropertyInfo = Server
type AttrLabel ServerPortPropertyInfo Source # 
type AttrLabel ServerPortPropertyInfo = "port"
type AttrGetType ServerPortPropertyInfo Source # 
type AttrGetType ServerPortPropertyInfo = Word32
type AttrBaseTypeConstraint ServerPortPropertyInfo Source # 
type AttrBaseTypeConstraint ServerPortPropertyInfo = IsServer
type AttrAllowedOps ServerPortPropertyInfo Source # 
type AttrAllowedOps ServerPortPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

constructServerPort :: IsServer o => Word32 -> IO (GValueConstruct o) Source #

serverPort :: AttrLabelProxy "port" Source #

rawPaths

data ServerRawPathsPropertyInfo Source #

Instances

AttrInfo ServerRawPathsPropertyInfo Source # 

Associated Types

type AttrAllowedOps ServerRawPathsPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ServerRawPathsPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ServerRawPathsPropertyInfo :: * -> Constraint

type AttrGetType ServerRawPathsPropertyInfo :: *

type AttrLabel ServerRawPathsPropertyInfo :: Symbol

type AttrOrigin ServerRawPathsPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ServerRawPathsPropertyInfo o => Proxy * ServerRawPathsPropertyInfo -> o -> IO (AttrGetType ServerRawPathsPropertyInfo)

attrSet :: (AttrBaseTypeConstraint ServerRawPathsPropertyInfo o, AttrSetTypeConstraint ServerRawPathsPropertyInfo b) => Proxy * ServerRawPathsPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ServerRawPathsPropertyInfo o => Proxy * ServerRawPathsPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ServerRawPathsPropertyInfo o, AttrSetTypeConstraint ServerRawPathsPropertyInfo b) => Proxy * ServerRawPathsPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ServerRawPathsPropertyInfo Source # 
type AttrSetTypeConstraint ServerRawPathsPropertyInfo = * ~ Bool
type AttrOrigin ServerRawPathsPropertyInfo Source # 
type AttrLabel ServerRawPathsPropertyInfo Source # 
type AttrLabel ServerRawPathsPropertyInfo = "raw-paths"
type AttrGetType ServerRawPathsPropertyInfo Source # 
type AttrGetType ServerRawPathsPropertyInfo = Bool
type AttrBaseTypeConstraint ServerRawPathsPropertyInfo Source # 
type AttrBaseTypeConstraint ServerRawPathsPropertyInfo = IsServer
type AttrAllowedOps ServerRawPathsPropertyInfo Source # 
type AttrAllowedOps ServerRawPathsPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

constructServerRawPaths :: IsServer o => Bool -> IO (GValueConstruct o) Source #

serverRawPaths :: AttrLabelProxy "rawPaths" Source #

serverHeader

data ServerServerHeaderPropertyInfo Source #

Instances

AttrInfo ServerServerHeaderPropertyInfo Source # 

Associated Types

type AttrAllowedOps ServerServerHeaderPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ServerServerHeaderPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ServerServerHeaderPropertyInfo :: * -> Constraint

type AttrGetType ServerServerHeaderPropertyInfo :: *

type AttrLabel ServerServerHeaderPropertyInfo :: Symbol

type AttrOrigin ServerServerHeaderPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ServerServerHeaderPropertyInfo o => Proxy * ServerServerHeaderPropertyInfo -> o -> IO (AttrGetType ServerServerHeaderPropertyInfo)

attrSet :: (AttrBaseTypeConstraint ServerServerHeaderPropertyInfo o, AttrSetTypeConstraint ServerServerHeaderPropertyInfo b) => Proxy * ServerServerHeaderPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ServerServerHeaderPropertyInfo o => Proxy * ServerServerHeaderPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ServerServerHeaderPropertyInfo o, AttrSetTypeConstraint ServerServerHeaderPropertyInfo b) => Proxy * ServerServerHeaderPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ServerServerHeaderPropertyInfo Source # 
type AttrSetTypeConstraint ServerServerHeaderPropertyInfo = * ~ Text
type AttrOrigin ServerServerHeaderPropertyInfo Source # 
type AttrLabel ServerServerHeaderPropertyInfo Source # 
type AttrLabel ServerServerHeaderPropertyInfo = "server-header"
type AttrGetType ServerServerHeaderPropertyInfo Source # 
type AttrGetType ServerServerHeaderPropertyInfo = Maybe Text
type AttrBaseTypeConstraint ServerServerHeaderPropertyInfo Source # 
type AttrBaseTypeConstraint ServerServerHeaderPropertyInfo = IsServer
type AttrAllowedOps ServerServerHeaderPropertyInfo Source # 
type AttrAllowedOps ServerServerHeaderPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))))

constructServerServerHeader :: IsServer o => Text -> IO (GValueConstruct o) Source #

getServerServerHeader :: (MonadIO m, IsServer o) => o -> m (Maybe Text) Source #

serverServerHeader :: AttrLabelProxy "serverHeader" Source #

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

sslCertFile

data ServerSslCertFilePropertyInfo Source #

Instances

AttrInfo ServerSslCertFilePropertyInfo Source # 

Associated Types

type AttrAllowedOps ServerSslCertFilePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ServerSslCertFilePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ServerSslCertFilePropertyInfo :: * -> Constraint

type AttrGetType ServerSslCertFilePropertyInfo :: *

type AttrLabel ServerSslCertFilePropertyInfo :: Symbol

type AttrOrigin ServerSslCertFilePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ServerSslCertFilePropertyInfo o => Proxy * ServerSslCertFilePropertyInfo -> o -> IO (AttrGetType ServerSslCertFilePropertyInfo)

attrSet :: (AttrBaseTypeConstraint ServerSslCertFilePropertyInfo o, AttrSetTypeConstraint ServerSslCertFilePropertyInfo b) => Proxy * ServerSslCertFilePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ServerSslCertFilePropertyInfo o => Proxy * ServerSslCertFilePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ServerSslCertFilePropertyInfo o, AttrSetTypeConstraint ServerSslCertFilePropertyInfo b) => Proxy * ServerSslCertFilePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ServerSslCertFilePropertyInfo Source # 
type AttrSetTypeConstraint ServerSslCertFilePropertyInfo = * ~ Text
type AttrOrigin ServerSslCertFilePropertyInfo Source # 
type AttrLabel ServerSslCertFilePropertyInfo Source # 
type AttrLabel ServerSslCertFilePropertyInfo = "ssl-cert-file"
type AttrGetType ServerSslCertFilePropertyInfo Source # 
type AttrGetType ServerSslCertFilePropertyInfo = Maybe Text
type AttrBaseTypeConstraint ServerSslCertFilePropertyInfo Source # 
type AttrBaseTypeConstraint ServerSslCertFilePropertyInfo = IsServer
type AttrAllowedOps ServerSslCertFilePropertyInfo Source # 
type AttrAllowedOps ServerSslCertFilePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructServerSslCertFile :: IsServer o => Text -> IO (GValueConstruct o) Source #

getServerSslCertFile :: (MonadIO m, IsServer o) => o -> m (Maybe Text) Source #

serverSslCertFile :: AttrLabelProxy "sslCertFile" Source #

sslKeyFile

data ServerSslKeyFilePropertyInfo Source #

Instances

AttrInfo ServerSslKeyFilePropertyInfo Source # 

Associated Types

type AttrAllowedOps ServerSslKeyFilePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ServerSslKeyFilePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ServerSslKeyFilePropertyInfo :: * -> Constraint

type AttrGetType ServerSslKeyFilePropertyInfo :: *

type AttrLabel ServerSslKeyFilePropertyInfo :: Symbol

type AttrOrigin ServerSslKeyFilePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ServerSslKeyFilePropertyInfo o => Proxy * ServerSslKeyFilePropertyInfo -> o -> IO (AttrGetType ServerSslKeyFilePropertyInfo)

attrSet :: (AttrBaseTypeConstraint ServerSslKeyFilePropertyInfo o, AttrSetTypeConstraint ServerSslKeyFilePropertyInfo b) => Proxy * ServerSslKeyFilePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ServerSslKeyFilePropertyInfo o => Proxy * ServerSslKeyFilePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ServerSslKeyFilePropertyInfo o, AttrSetTypeConstraint ServerSslKeyFilePropertyInfo b) => Proxy * ServerSslKeyFilePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ServerSslKeyFilePropertyInfo Source # 
type AttrSetTypeConstraint ServerSslKeyFilePropertyInfo = * ~ Text
type AttrOrigin ServerSslKeyFilePropertyInfo Source # 
type AttrLabel ServerSslKeyFilePropertyInfo Source # 
type AttrLabel ServerSslKeyFilePropertyInfo = "ssl-key-file"
type AttrGetType ServerSslKeyFilePropertyInfo Source # 
type AttrGetType ServerSslKeyFilePropertyInfo = Maybe Text
type AttrBaseTypeConstraint ServerSslKeyFilePropertyInfo Source # 
type AttrBaseTypeConstraint ServerSslKeyFilePropertyInfo = IsServer
type AttrAllowedOps ServerSslKeyFilePropertyInfo Source # 
type AttrAllowedOps ServerSslKeyFilePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructServerSslKeyFile :: IsServer o => Text -> IO (GValueConstruct o) Source #

getServerSslKeyFile :: (MonadIO m, IsServer o) => o -> m (Maybe Text) Source #

serverSslKeyFile :: AttrLabelProxy "sslKeyFile" Source #

tlsCertificate

data ServerTlsCertificatePropertyInfo Source #

Instances

AttrInfo ServerTlsCertificatePropertyInfo Source # 

Associated Types

type AttrAllowedOps ServerTlsCertificatePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint ServerTlsCertificatePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint ServerTlsCertificatePropertyInfo :: * -> Constraint

type AttrGetType ServerTlsCertificatePropertyInfo :: *

type AttrLabel ServerTlsCertificatePropertyInfo :: Symbol

type AttrOrigin ServerTlsCertificatePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint ServerTlsCertificatePropertyInfo o => Proxy * ServerTlsCertificatePropertyInfo -> o -> IO (AttrGetType ServerTlsCertificatePropertyInfo)

attrSet :: (AttrBaseTypeConstraint ServerTlsCertificatePropertyInfo o, AttrSetTypeConstraint ServerTlsCertificatePropertyInfo b) => Proxy * ServerTlsCertificatePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint ServerTlsCertificatePropertyInfo o => Proxy * ServerTlsCertificatePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint ServerTlsCertificatePropertyInfo o, AttrSetTypeConstraint ServerTlsCertificatePropertyInfo b) => Proxy * ServerTlsCertificatePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint ServerTlsCertificatePropertyInfo Source # 
type AttrSetTypeConstraint ServerTlsCertificatePropertyInfo = IsTlsCertificate
type AttrOrigin ServerTlsCertificatePropertyInfo Source # 
type AttrLabel ServerTlsCertificatePropertyInfo Source # 
type AttrLabel ServerTlsCertificatePropertyInfo = "tls-certificate"
type AttrGetType ServerTlsCertificatePropertyInfo Source # 
type AttrGetType ServerTlsCertificatePropertyInfo = Maybe TlsCertificate
type AttrBaseTypeConstraint ServerTlsCertificatePropertyInfo Source # 
type AttrBaseTypeConstraint ServerTlsCertificatePropertyInfo = IsServer
type AttrAllowedOps ServerTlsCertificatePropertyInfo Source # 
type AttrAllowedOps ServerTlsCertificatePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructServerTlsCertificate :: (IsServer o, IsTlsCertificate a) => a -> IO (GValueConstruct o) Source #

getServerTlsCertificate :: (MonadIO m, IsServer o) => o -> m (Maybe TlsCertificate) Source #

serverTlsCertificate :: AttrLabelProxy "tlsCertificate" Source #

Signals

requestAborted

data ServerRequestAbortedSignalInfo Source #

Instances

SignalInfo ServerRequestAbortedSignalInfo Source # 

Associated Types

type HaskellCallbackType ServerRequestAbortedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o ServerRequestAbortedSignalInfo -> o -> HaskellCallbackType ServerRequestAbortedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType ServerRequestAbortedSignalInfo Source # 

afterServerRequestAborted :: (GObject a, MonadIO m) => a -> ServerRequestAbortedCallback -> m SignalHandlerId Source #

onServerRequestAborted :: (GObject a, MonadIO m) => a -> ServerRequestAbortedCallback -> m SignalHandlerId Source #

requestFinished

data ServerRequestFinishedSignalInfo Source #

Instances

SignalInfo ServerRequestFinishedSignalInfo Source # 

Associated Types

type HaskellCallbackType ServerRequestFinishedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o ServerRequestFinishedSignalInfo -> o -> HaskellCallbackType ServerRequestFinishedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType ServerRequestFinishedSignalInfo Source # 

afterServerRequestFinished :: (GObject a, MonadIO m) => a -> ServerRequestFinishedCallback -> m SignalHandlerId Source #

onServerRequestFinished :: (GObject a, MonadIO m) => a -> ServerRequestFinishedCallback -> m SignalHandlerId Source #

requestRead

data ServerRequestReadSignalInfo Source #

Instances

SignalInfo ServerRequestReadSignalInfo Source # 

Associated Types

type HaskellCallbackType ServerRequestReadSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o ServerRequestReadSignalInfo -> o -> HaskellCallbackType ServerRequestReadSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType ServerRequestReadSignalInfo Source # 

afterServerRequestRead :: (GObject a, MonadIO m) => a -> ServerRequestReadCallback -> m SignalHandlerId Source #

onServerRequestRead :: (GObject a, MonadIO m) => a -> ServerRequestReadCallback -> m SignalHandlerId Source #

requestStarted

data ServerRequestStartedSignalInfo Source #

Instances

SignalInfo ServerRequestStartedSignalInfo Source # 

Associated Types

type HaskellCallbackType ServerRequestStartedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o ServerRequestStartedSignalInfo -> o -> HaskellCallbackType ServerRequestStartedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType ServerRequestStartedSignalInfo Source # 

afterServerRequestStarted :: (GObject a, MonadIO m) => a -> ServerRequestStartedCallback -> m SignalHandlerId Source #

onServerRequestStarted :: (GObject a, MonadIO m) => a -> ServerRequestStartedCallback -> m SignalHandlerId Source #