| 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.DtlsServerConnection
Description
DtlsServerConnection is the server-side subclass of DtlsConnection,
representing a server-side DTLS connection.
- newtype DtlsServerConnection = DtlsServerConnection (ManagedPtr DtlsServerConnection)
- noDtlsServerConnection :: Maybe DtlsServerConnection
- class GObject o => IsDtlsServerConnection o
- toDtlsServerConnection :: IsDtlsServerConnection o => o -> IO DtlsServerConnection
- dtlsServerConnectionNew :: (HasCallStack, MonadIO m, IsDatagramBased a, IsTlsCertificate b) => a -> Maybe b -> m DtlsServerConnection
- data DtlsServerConnectionAuthenticationModePropertyInfo
- constructDtlsServerConnectionAuthenticationMode :: IsDtlsServerConnection o => TlsAuthenticationMode -> IO (GValueConstruct o)
- dtlsServerConnectionAuthenticationMode :: AttrLabelProxy "authenticationMode"
- getDtlsServerConnectionAuthenticationMode :: (MonadIO m, IsDtlsServerConnection o) => o -> m TlsAuthenticationMode
- setDtlsServerConnectionAuthenticationMode :: (MonadIO m, IsDtlsServerConnection o) => o -> TlsAuthenticationMode -> m ()
Exported types
newtype DtlsServerConnection Source #
Constructors
| DtlsServerConnection (ManagedPtr DtlsServerConnection) |
Instances
| GObject DtlsServerConnection Source # | |
| IsObject DtlsServerConnection Source # | |
| IsDtlsConnection DtlsServerConnection Source # | |
| IsDatagramBased DtlsServerConnection Source # | |
| IsDtlsServerConnection DtlsServerConnection Source # | |
| ((~) * info (ResolveDtlsServerConnectionMethod t DtlsServerConnection), MethodInfo * info DtlsServerConnection p) => IsLabel t (DtlsServerConnection -> p) Source # | |
| ((~) * info (ResolveDtlsServerConnectionMethod t DtlsServerConnection), MethodInfo * info DtlsServerConnection p) => IsLabelProxy t (DtlsServerConnection -> p) Source # | |
| HasAttributeList * DtlsServerConnection Source # | |
| type AttributeList DtlsServerConnection Source # | |
| type SignalList DtlsServerConnection Source # | |
class GObject o => IsDtlsServerConnection o Source #
Methods
new
dtlsServerConnectionNew Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDatagramBased a, IsTlsCertificate b) | |
| => a |
|
| -> Maybe b |
|
| -> m DtlsServerConnection | Returns: the new
|
Creates a new DtlsServerConnection wrapping baseSocket.
Since: 2.48
Properties
authenticationMode
data DtlsServerConnectionAuthenticationModePropertyInfo Source #
Instances
constructDtlsServerConnectionAuthenticationMode :: IsDtlsServerConnection o => TlsAuthenticationMode -> IO (GValueConstruct o) Source #
dtlsServerConnectionAuthenticationMode :: AttrLabelProxy "authenticationMode" Source #
getDtlsServerConnectionAuthenticationMode :: (MonadIO m, IsDtlsServerConnection o) => o -> m TlsAuthenticationMode Source #
setDtlsServerConnectionAuthenticationMode :: (MonadIO m, IsDtlsServerConnection o) => o -> TlsAuthenticationMode -> m () Source #