Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GoAway

A frame.

Hierarchy

  • GoAway

Index

Constructors

constructor

  • Returns GoAway

  • Parameters

    Returns GoAway

Methods

getDebugData

  • Set the additional debug data

    Returns Buffer

getErrorCode

  • getErrorCode(): number
  • Returns number

getLastStreamId

  • getLastStreamId(): number
  • Set the last stream id.

    Returns number

setDebugData

  • Set the additional debug data

    Parameters

    Returns GoAway

setErrorCode

  • setErrorCode(errorCode: number): GoAway
  • Parameters

    • errorCode: number

    Returns GoAway

setLastStreamId

  • setLastStreamId(lastStreamId: number): GoAway
  • Set the last stream id.

    Parameters

    • lastStreamId: number

    Returns GoAway

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc