Module cowboy_spdy

SPDY protocol handler.

Description

SPDY protocol handler.

The available options are:
Note that there is no need to monitor these processes when using Cowboy as an application as it already supervises them under the listener supervisor.

Data Types

opts()

opts() = []

Function Index

name/0
reply/4
request_init/9
send/2
sendfile/2
start_link/4Start a SPDY protocol process.
stream_close/1
stream_data/2
stream_reply/3
system_code_change/4
system_continue/3
system_terminate/4

Function Details

name/0

name() -> any()

reply/4

reply(Socket, Status, Headers, Body) -> any()

request_init/9

request_init(Parent, StreamID, Peer, Headers, OnRequest, OnResponse, Env, Middlewares, Special_headers) -> any()

send/2

send(Socket, Data) -> any()

sendfile/2

sendfile(Socket, Filepath) -> any()

start_link/4

start_link(Ref::any(), Socket::inet:socket(), Transport::module(), Opts::any()) -> {ok, pid()}

Start a SPDY protocol process.

stream_close/1

stream_close(Socket) -> any()

stream_data/2

stream_data(Socket, Data) -> any()

stream_reply/3

stream_reply(Socket, Status, Headers) -> any()

system_code_change/4

system_code_change(Misc, X2, X3, X4) -> any()

system_continue/3

system_continue(X1, X2, State) -> any()

system_terminate/4

system_terminate(Reason::any(), X2::term(), X3::term(), X4::term()) -> no_return()


Generated by EDoc, Oct 28 2013, 11:09:20.