Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProtonTransportOptions

Options for configuring transport layer

Hierarchy

  • ProtonTransportOptions

Index

Constructors

constructor

Methods

getHeartbeat

  • getHeartbeat(): number
  • Set the heart beat as maximum delay between sending frames for the remote peers. If no frames are received within 2 * heart beat, the connection is closed

    Returns number

getMaxFrameSize

  • getMaxFrameSize(): number
  • Sets the maximum frame size for the connection.

    If this property is not set explicitly, a reasonable default value is used.

    Setting this property to a negative value will result in no maximum frame size being announced at all.

    Returns number

setHeartbeat

  • Set the heart beat as maximum delay between sending frames for the remote peers. If no frames are received within 2 * heart beat, the connection is closed

    Parameters

    • heartbeat: number

    Returns ProtonTransportOptions

setMaxFrameSize

  • Sets the maximum frame size for the connection.

    If this property is not set explicitly, a reasonable default value is used.

    Setting this property to a negative value will result in no maximum frame size being announced at all.

    Parameters

    • maxFrameSize: number

    Returns ProtonTransportOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc