Class StreamWebSocket

Index

Properties

Methods

Properties

public control: StreamWebSocketControl

public information: StreamWebSocketInformation

public inputStream: IInputStream

public onclosed: any

public outputStream: IOutputStream

Methods

public close(code: number, reason: string)

Parameters

  • code: number
  • reason: string

public close()

public connectAsync(uri: Uri): IAsyncAction

Parameters

Returns

IAsyncAction

public dispose()

public setRequestHeader(headerName: string, headerValue: string)

Parameters

  • headerName: string
  • headerValue: string