second-transfer-0.10.0.4: Second Transfer HTTP/2 web server

Safe HaskellNone
LanguageHaskell2010

SecondTransfer.Socks5.Types

Contents

Synopsis

Types to be serialized and de-serialized

data ProtocolVersion

A nonce which is always equal to five... or we are in troubles

Constructors

ProtocolVersion 

Helpers for serialization, de-serialization

Logging types

newtype S5ConnectionId

Connection ID for SOCKS5 Connections

Constructors

S5ConnectionId Int64 

data Socks5ConnectionCallbacks

Callbacks used by client applications to get notified about interesting events happening at a connection level, or to get asked about things (e.g, about if it is proper to accept a connection). These are used from CoreServer

Constructors

Socks5ConnectionCallbacks 

Fields

_logEvents_S5CC :: Maybe Socks5LogCallback

Invoked after the connection is accepted, and after it is finished.