Package-level declarations
Types
A Http2ServerRequest
object is created by {@link Server} or {@link SecureServer} and passed as the first argument to the 'request'
event. It may be used to access a request status, headers, and data.
This object is created internally by an HTTP server, not by the user. It is passed as the second parameter to the 'request'
event.
Properties
Functions
Returns a ClientHttp2Session
instance.
Returns a tls.Server
instance that creates and manages Http2Session
instances.
Returns a net.Server
instance that creates and manages Http2Session
instances.
Returns an object containing the default settings for an Http2Session
instance. This method returns a new object instance every time it is called so instances returned may be safely modified for use.
Returns a Buffer
instance containing serialized representation of the given HTTP/2 settings as specified in the HTTP/2 specification. This is intended for use with the HTTP2-Settings
header field.
Returns a HTTP/2 Settings Object
containing the deserialized settings from the given Buffer
as generated by http2.getPackedSettings()
.
Create an HTTP/2 server session from an existing socket.