cowboy_sub_protocol - sub protocol
The cowboy_sub_protocol
behaviour defines the interface used
by modules that implement a protocol on top of HTTP.
The Req object.
The request environment.
Handler module.
Handler options.
MFA to call when resuming the process.
MFA to call when resuming the process.
MFA to call when resuming the process.
Upgrade the protocol.
Please refer to the cowboy_middleware
manual for a
description of the return values.