| 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 |
GI.Gio.Interfaces.TlsServerConnection
Description
TlsServerConnection is the server-side subclass of TlsConnection,
representing a server-side TLS connection.
- newtype TlsServerConnection = TlsServerConnection (ManagedPtr TlsServerConnection)
- noTlsServerConnection :: Maybe TlsServerConnection
- class GObject o => IsTlsServerConnection o
- toTlsServerConnection :: IsTlsServerConnection o => o -> IO TlsServerConnection
- tlsServerConnectionNew :: (HasCallStack, MonadIO m, IsIOStream a, IsTlsCertificate b) => a -> Maybe b -> m TlsServerConnection
- data TlsServerConnectionAuthenticationModePropertyInfo
- constructTlsServerConnectionAuthenticationMode :: IsTlsServerConnection o => TlsAuthenticationMode -> IO (GValueConstruct o)
- getTlsServerConnectionAuthenticationMode :: (MonadIO m, IsTlsServerConnection o) => o -> m TlsAuthenticationMode
- setTlsServerConnectionAuthenticationMode :: (MonadIO m, IsTlsServerConnection o) => o -> TlsAuthenticationMode -> m ()
- tlsServerConnectionAuthenticationMode :: AttrLabelProxy "authenticationMode"
Exported types
newtype TlsServerConnection Source #
Constructors
| TlsServerConnection (ManagedPtr TlsServerConnection) |
Instances
| GObject TlsServerConnection Source # | |
| IsObject TlsServerConnection Source # | |
| IsTlsConnection TlsServerConnection Source # | |
| IsIOStream TlsServerConnection Source # | |
| IsTlsServerConnection TlsServerConnection Source # | |
| ((~) * info (ResolveTlsServerConnectionMethod t TlsServerConnection), MethodInfo * info TlsServerConnection p) => IsLabel t (TlsServerConnection -> p) Source # | |
| ((~) * info (ResolveTlsServerConnectionMethod t TlsServerConnection), MethodInfo * info TlsServerConnection p) => IsLabelProxy t (TlsServerConnection -> p) Source # | |
| HasAttributeList * TlsServerConnection Source # | |
| type AttributeList TlsServerConnection Source # | |
| type SignalList TlsServerConnection Source # | |
class GObject o => IsTlsServerConnection o Source #
toTlsServerConnection :: IsTlsServerConnection o => o -> IO TlsServerConnection Source #
Methods
new
tlsServerConnectionNew Source #
Arguments
| :: (HasCallStack, MonadIO m, IsIOStream a, IsTlsCertificate b) | |
| => a |
|
| -> Maybe b |
|
| -> m TlsServerConnection | Returns: the new
|
Creates a new TlsServerConnection wrapping baseIoStream (which
must have pollable input and output streams).
See the documentation for TlsConnection:base-io-stream for restrictions
on when application code can run operations on the baseIoStream after
this function has returned.
Since: 2.28
Properties
authenticationMode
data TlsServerConnectionAuthenticationModePropertyInfo Source #
Instances
constructTlsServerConnectionAuthenticationMode :: IsTlsServerConnection o => TlsAuthenticationMode -> IO (GValueConstruct o) Source #
getTlsServerConnectionAuthenticationMode :: (MonadIO m, IsTlsServerConnection o) => o -> m TlsAuthenticationMode Source #
setTlsServerConnectionAuthenticationMode :: (MonadIO m, IsTlsServerConnection o) => o -> TlsAuthenticationMode -> m () Source #
tlsServerConnectionAuthenticationMode :: AttrLabelProxy "authenticationMode" Source #