gi-gio-2.0.12: Gio 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.Gio.Interfaces.TlsServerConnection

Contents

Description

TlsServerConnection is the server-side subclass of TlsConnection, representing a server-side TLS connection.

Synopsis

Exported types

Methods

new

tlsServerConnectionNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsIOStream a, IsTlsCertificate b) 
=> a

baseIoStream: the IOStream to wrap

-> Maybe b

certificate: the default server certificate, or Nothing

-> m TlsServerConnection

Returns: the new TlsServerConnection, or Nothing on error (Can throw GError)

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

AttrInfo TlsServerConnectionAuthenticationModePropertyInfo Source # 
type AttrOrigin TlsServerConnectionAuthenticationModePropertyInfo Source # 
type AttrLabel TlsServerConnectionAuthenticationModePropertyInfo Source # 
type AttrGetType TlsServerConnectionAuthenticationModePropertyInfo Source # 
type AttrBaseTypeConstraint TlsServerConnectionAuthenticationModePropertyInfo Source # 
type AttrSetTypeConstraint TlsServerConnectionAuthenticationModePropertyInfo Source # 
type AttrAllowedOps TlsServerConnectionAuthenticationModePropertyInfo Source #