Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DuplexOptions

Hierarchy

Index

Properties

Optional allowHalfOpen

allowHalfOpen: boolean

Optional decodeStrings

decodeStrings: boolean

Optional encoding

encoding: string

Optional highWaterMark

highWaterMark: number

Optional objectMode

objectMode: boolean

Optional read

read: function

Type declaration

    • (size?: number): any
    • Parameters

      • Optional size: number

      Returns any

Optional readableObjectMode

readableObjectMode: boolean

Optional writableObjectMode

writableObjectMode: boolean

Optional write

write: function

Type declaration

    • (chunk: string | Buffer, encoding: string, callback: Function): any
    • Parameters

      • chunk: string | Buffer
      • encoding: string
      • callback: Function

      Returns any

Optional writev

writev: function

Type declaration

    • (chunks: object[], callback: Function): any
    • Parameters

      • chunks: object[]
        • chunk: string | Buffer
        • encoding: string
      • callback: Function

      Returns any

Generated using TypeDoc