method ServerHttp2Session.prependOnceListener
Jump to headingServerHttp2Session.prependOnceListener(event: "connect",listener: (session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>,socket: net.Socket | tls.TLSSocket,) => void,): this
Parameters Jump to heading
Jump to headingevent: "connect"
Jump to headinglistener: (session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>,socket: net.Socket | tls.TLSSocket,) => void
Return Type Jump to heading
this
Jump to headingServerHttp2Session.prependOnceListener(event: "stream",listener: () => void,): this
Parameters Jump to heading
Jump to headingevent: "stream"
Jump to headinglistener: () => void
Return Type Jump to heading
this
Jump to headingServerHttp2Session.prependOnceListener(event: string | symbol,listener: (...args: any[]) => void,): this
Parameters Jump to heading
Jump to headingevent: string | symbol
Jump to headinglistener: (...args: any[]) => void
Return Type Jump to heading
this