Module

Erl.Gun

#HttpOpts

type HttpOpts :: Row Typetype HttpOpts = (closing_timeout :: Maybe Timeout, cookie_ignore_informational :: Maybe Boolean, flow :: Maybe PosInt, keepalive :: Maybe Timeout, transform_header_name :: Maybe TransformHeaderNameFn, version :: Maybe HttpVersion)

#Http2Opts

type Http2Opts :: Row Typetype Http2Opts = (connection_window_margin_size :: Maybe NonNegInt, connection_window_update_threshold :: Maybe NonNegInt, cookie_ignore_informational :: Maybe Boolean, enable_connect_protocol :: Maybe Boolean, flow :: Maybe PosInt, initial_connection_window_size :: Maybe PosInt, initial_stream_window_size :: Maybe NonNegInt, keepalive :: Maybe Timeout, losing_timeout :: Maybe Timeout, max_concurrent_streams :: Maybe IntOrInfinity, max_connection_window_size :: Maybe NonNegInt, max_decode_table_size :: Maybe NonNegInt, max_encode_table_size :: Maybe NonNegInt, max_frame_size_received :: Maybe PosInt, max_frame_size_sent :: Maybe IntOrInfinity, max_stream_buffer_size :: Maybe NonNegInt, max_stream_window_size :: Maybe NonNegInt, preface_timeout :: Maybe Timeout, settings_timeout :: Maybe Timeout, stream_window_margin_size :: Maybe NonNegInt, stream_window_update_threshold :: Maybe NonNegInt)

#SocksOpts

type SocksOpts :: Row Typetype SocksOpts = (auth :: Maybe SocksAuth, host :: Maybe HostAddress, port :: Maybe Port, protocols :: Maybe (List Protocol), tls_handshake_timeout :: Maybe Timeout, transport :: Maybe Transport, version :: Maybe PosInt)

#OptionToMaybe

#HttpVersion

#SocksAuth

#TransformHeaderNameFn

#GunMessage

data GunMessage

Constructors

Instances

#ConnPid

#DownProtocol

#DownReason

#ErrorReason

#StreamRef

data StreamRef

Instances

#IsFin

data IsFin

Constructors

#UpProtocol

#Frame

#CloseFrame

#Status

#Headers

#Trailers

#Method

type Method = Binary

#URI

type URI = Binary

#Header

#Trailer

#setOwner

#shutdown

#flushConnection

#flushStream

#httpOptions

#http2Options

#socksOptions

#wsOptions

#OptionsToErl

class OptionsToErl :: Row Type -> RowList Type -> Constraintclass OptionsToErl r rl  where

Members

Instances

#optionsToErl

optionsToErl :: forall r rl. RowToList r rl => OptionsToErl r rl => Record r -> Foreign

#OptionToErl

class OptionToErl :: Symbol -> Type -> Constraintclass OptionToErl sym option  where

Members

Instances

Modules