Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • NodeHttp2Handler

Implements

Index

Constructors

constructor

Properties

Private Optional config

Private Readonly configProvider

configProvider: Promise<NodeHttp2HandlerOptions>

Private sessionCache

sessionCache: Map<string, ClientHttp2Session[]>

Methods

Private deleteSessionFromCache

  • deleteSessionFromCache(authority: string, session: ClientHttp2Session): void

destroy

  • destroy(): void

Private destroySession

  • destroySession(session: ClientHttp2Session): void

Private getSession

  • getSession(authority: string, disableConcurrentStreams: boolean): ClientHttp2Session
  • Returns a session for the given URL.

    Parameters

    • authority: string

      The URL to create a session for.

    • disableConcurrentStreams: boolean

      If true, a new session will be created for each request.

    Returns ClientHttp2Session

    A session for the given URL.

handle

Object literals

Readonly metadata

metadata: object

handlerProtocol

handlerProtocol: string = "h2"