Starship.Reactor.Websocket.Handshake (Starship v0.0.1) View Source

Functions for handling a websocket handshake from Starship.Reactor.Websocket.

Link to this section Summary

Link to this section Functions

Link to this function

build_handshake_reply_headers(headers, opts)

View Source

Specs

build_handshake_reply_headers(Starship.Reactor.Conn.headers(), map()) ::
  {Starship.Reactor.Conn.headers(), boolean()}
Link to this function

compress_handshake(config, opts)

View Source

Specs

compress_handshake(map(), map()) :: map()
Link to this function

extract_websocket_extensions(headers)

View Source

Specs

extract_websocket_extensions(Starship.Reactor.Conn.headers()) :: map()
Link to this function

rejected_handshake(config)

View Source

Specs

rejected_handshake(map()) :: map()
Link to this function

successful_handshake(conn, config, opts)

View Source

Specs

successful_handshake(Starship.Reactor.Conn.t(), map(), map()) :: map()