Class MessageWebSocket

Index

Properties

Methods

Properties

public control: MessageWebSocketControl

public information: MessageWebSocketInformation

public onclosed: any

public onmessagereceived: 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