Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StreamPriority

This class represents HTTP/2 stream priority defined in RFC 7540 clause 5.3

Hierarchy

  • StreamPriority

Index

Constructors

constructor

  • Returns StreamPriority

  • Parameters

    Returns StreamPriority

Methods

getDependency

  • getDependency(): number
  • Set the priority dependency value.

    Returns number

getWeight

  • getWeight(): number
  • Set the priority weight.

    Returns number

isExclusive

  • isExclusive(): boolean
  • Set the priority exclusive value.

    Returns boolean

setDependency

  • Set the priority dependency value.

    Parameters

    • dependency: number

    Returns StreamPriority

setExclusive

  • Set the priority exclusive value.

    Parameters

    • exclusive: boolean

    Returns StreamPriority

setWeight

  • Set the priority weight.

    Parameters

    • weight: number

    Returns StreamPriority

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc