Skip to main content

Module control

Module control 

Source
Expand description

Connection lifecycle messages and acknowledgements.

Structs§

Connection
Notification that a connection has been accepted.
ControlAck
The control service’s response to an HTTP/1 lifecycle event.
Error
An application service error and its generated response.
Expect
A request containing an Expect: 100-continue header.
KeepAlive
Notification that a keep-alive connection is being closed.
NewRequest
Notification that a complete request head has been received.
PeerGone
Notification that the peer closed the connection.
ProtocolError
A protocol error reported to the control service.
ServiceDisconnect
Notification that the server is closing the connection.
Upgrade
A request to upgrade the HTTP/1 connection.

Enums§

Control
A lifecycle event sent to an HTTP/1 control service.
Reason
Reason supplied with an HTTP/1 disconnect notification.
ServiceDisconnectReason
The reason the HTTP service is disconnecting.