This module defines the gun_content_handler behaviour.
Required callback functions: init/5, handle/3.
opt() = [module() | {module(), #{}}]
state() = opt() | [{module(), any()}]
check_option/1 | |
handle/3 | |
init/5 |
check_option(Opt::list()) -> ok | error
handle(IsFin::fin | nofin, Data0::any(), State) -> State
init(ReplyTo::pid(), StreamRef::any(), Status::cow_http:status(), Headers::cow_http:headers(), State) -> State
Generated by EDoc, Jan 16 2018, 19:57:52.