method ClientHttp2Session.prependListener
Jump to headingClientHttp2Session.prependListener(event: "altsvc",listener: (alt: string,origin: string,stream: number,) => void,): this
Parameters Jump to heading
Jump to headingevent: "altsvc"
Jump to headinglistener: (alt: string,origin: string,stream: number,) => void
Return Type Jump to heading
this
Jump to headingClientHttp2Session.prependListener(event: "origin",listener: (origins: string[]) => void,): this
Parameters Jump to heading
Jump to headingevent: "origin"
Jump to headinglistener: (origins: string[]) => void
Return Type Jump to heading
this
Jump to headingClientHttp2Session.prependListener(event: "connect",listener: (session: ClientHttp2Session,socket: net.Socket | tls.TLSSocket,) => void,): this
Parameters Jump to heading
Jump to headingevent: "connect"
Jump to headinglistener: (session: ClientHttp2Session,socket: net.Socket | tls.TLSSocket,) => void
Return Type Jump to heading
this
Jump to headingClientHttp2Session.prependListener(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 headingClientHttp2Session.prependListener(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