Interface IWebSocket

Hierarchy

Index

Properties

Methods

Properties

public onclosed: any

public outputStream: IOutputStream

Methods

public close()

public close(code: number, reason: string)

Parameters

  • code: number
  • reason: string

public connectAsync(uri: Uri): IAsyncAction

Parameters

Returns

IAsyncAction

public setRequestHeader(headerName: string, headerValue: string)

Parameters

  • headerName: string
  • headerValue: string