Options
All
  • Public
  • Public/Protected
  • All
Menu

Writer to a writeable stream of an HTTP Request/Response Body. This is similar to the Streams API's WriteableStreamDefaultReader

Hierarchy

  • WriteableBodyStreamWriter

Index

Accessors

Methods

Accessors

closed

  • get closed(): boolean
  • Getter for if the writer is closed.

    Returns boolean

    true if the writer is closed, false if not.

Methods

close

  • close(): void
  • Close the writer and the body. This will signify that the streaming is completed.

    Returns void

releaseLock

  • releaseLock(): void
  • Release the lock on the associated WriteableStream that created this writer After releasing the lock, this writer instance is closed.

    Returns void

write

  • write(responseBodyBuffer: ArrayBuffer): void
  • Write a buffer to the body stream.

    Parameters

    • responseBodyBuffer: ArrayBuffer

      ArrayBuffer that should be written to the Body Stream.

    Returns void

Legend

  • Method

Generated using TypeDoc