Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NodeHTTPTransport<Raw, Res>

NodeHTTPTransport uses the native http and https modules to provide an http transport for server side use.

This transport abstracts the streaming nature of the http and https modules support streaming. Instead in queues up 'data' events into an array that is passed to its parser.

Parsers for this transport must be able to handle Buffer[]. There is an adapter parser for converting those to strings in the parser submodule.

Type parameters

  • Raw

  • Res

Hierarchy

  • NodeHTTPTransport

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

agent

agent: NodeAgent

options

options: NodeOptions

parser

parser: Parser<Buffer[], Res>

transform

transform: Transform<Raw, RequestBody>

Methods

send

Generated using TypeDoc