Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Handler.IntfSourceThe interface of an Atacama Handler. It is worth noting that you don't have to explicitly implement this interface, which allows your modules to include _more_ than is specified here.
val handle_connection : Socket.t -> state -> (state, 'error) handler_resultval handle_data :
Bigstringaf.t ->
Socket.t ->
state ->
(state, 'error) handler_resultval handle_error :
'error ->
Socket.t ->
state ->
(state, 'error) handler_resultval handle_shutdown : Socket.t -> state -> (state, 'error) handler_resultval handle_timeout : Socket.t -> state -> (state, 'error) handler_result