Module websocket_req

Accessor module for the #websocket_req{} record.

Description

Accessor module for the #websocket_req{} record.

Function Index

continuation/1
continuation/2
continuation_opcode/1
continuation_opcode/2
fin/1
fin/2
get/2
host/1
host/2
keepalive/1
keepalive/2
keepalive_max_attempts/1
keepalive_max_attempts/2
key/1
key/2
name_to_opcode/1Mapping from opcode to opcode name.
new/6
opcode/1
opcode/2
opcode_to_name/1Mapping from opcode to opcode name.
path/1
path/2
port/1
port/2
protocol/1
protocol/2
remaining/1
remaining/2
set/2
socket/1
socket/2
transport/1
transport/2

Function Details

continuation/1

continuation(Websocket_req::req()) -> undefined | binary()

continuation/2

continuation(C::undefined | binary(), Req::req()) -> req()

continuation_opcode/1

continuation_opcode(Websocket_req::req()) -> undefined | opcode()

continuation_opcode/2

continuation_opcode(C::undefined | opcode(), Req::req()) -> req()

fin/1

fin(Websocket_req::req()) -> fin()

fin/2

fin(F::fin(), Req::req()) -> req()

get/2

get(List::atom(), Req::req()) -> any()

get(List::[atom()], Req::req()) -> [any()]

host/1

host(Websocket_req::req()) -> string()

host/2

host(H::string(), Req::req()) -> req()

keepalive/1

keepalive(Websocket_req::req()) -> infinity | integer()

keepalive/2

keepalive(K::integer(), Req::req()) -> req()

keepalive_max_attempts/1

keepalive_max_attempts(Websocket_req::req()) -> non_neg_integer()

keepalive_max_attempts/2

keepalive_max_attempts(K::non_neg_integer(), Req::req()) -> req()

key/1

key(Websocket_req::req()) -> binary()

key/2

key(K::binary(), Req::req()) -> req()

name_to_opcode/1

name_to_opcode(X1::atom()) -> opcode()

Mapping from opcode to opcode name

new/6

new(Protocol::protocol(), Host::string(), Port::inet:port_number(), Path::string(), Transport::#transport{}, Key::binary()) -> req()

opcode/1

opcode(Websocket_req::req()) -> opcode()

opcode/2

opcode(O::opcode(), Req::req()) -> req()

opcode_to_name/1

opcode_to_name(X1::opcode()) -> atom()

Mapping from opcode to opcode name

path/1

path(Websocket_req::req()) -> string()

path/2

path(P::string(), Req::req()) -> req()

port/1

port(Websocket_req::req()) -> inet:port_number()

port/2

port(P::inet:port_number(), Req::req()) -> req()

protocol/1

protocol(Websocket_req::req()) -> protocol()

protocol/2

protocol(P::protocol(), Req::req()) -> req()

remaining/1

remaining(Websocket_req::req()) -> undefined | integer()

remaining/2

remaining(R::undefined | integer(), Req::req()) -> req()

set/2

set(Tail::[{atom(), any()}], Req) -> Req

socket/1

socket(Websocket_req::req()) -> undefined | inet:socket() | ssl:sslsocket()

socket/2

socket(S::inet:socket() | ssl:sslsocket(), Req::req()) -> req()

transport/1

transport(Websocket_req::req()) -> #transport{}

transport/2

transport(Transport::#transport{}, Req::req()) -> req()


Generated by EDoc