Class ServiceClient

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(host: string, authenticationProvider: any): ServiceClient

Parameters

  • host: string
  • authenticationProvider: any

Returns

ServiceClient

Properties

public static CLOUD_ACCESS_CONTROL_HOST: string

public static CLOUD_BLOB_HOST: string

public static CLOUD_DATABASE_HOST: string

public static CLOUD_QUEUE_HOST: string

public static CLOUD_SERVICEBUS_HOST: string

public static CLOUD_SERVICE_MANAGEMENT_HOST: string

public static CLOUD_TABLE_HOST: string

public static DEFAULT_PROTOCOL: string

public static DEFAULT_SERVICEBUS_ISSUER: string

public static DEFAULT_WRAP_NAMESPACE_SUFFIX: string

public static DEVSTORE_BLOB_HOST: string

public static DEVSTORE_QUEUE_HOST: string

public static DEVSTORE_STORAGE_ACCESS_KEY: string

public static DEVSTORE_STORAGE_ACCOUNT: string

public static DEVSTORE_TABLE_HOST: string

public static EnvironmentVariables: any

Methods

public addListener(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public emit(event: string, args?: Array<any>): boolean

Parameters

  • event: string
  • args?: Array<any> optional

Returns

boolean

public isEmulated(): boolean

Returns

boolean

public listeners(event: string): Array<Function>

Parameters

  • event: string

Returns

Array<Function>

public on(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public once(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public parseMetadataHeaders(headers: any): any

Parameters

  • headers: any

Returns

any

public performRequest(webResource: WebResource, outputData: string, options: any, callback: Function)

Parameters

  • webResource: WebResource
  • outputData: string
  • options: any
  • callback: Function

public performRequestInputStream(webResource: WebResource, outputData: string, inputStream: any, options: any, callback: Function)

Parameters

  • webResource: WebResource
  • outputData: string
  • inputStream: any
  • options: any
  • callback: Function

public performRequestOutputStream(webResource: WebResource, outputStream: any, options: any, callback: Function)

Parameters

  • webResource: WebResource
  • outputStream: any
  • options: any
  • callback: Function

public removeAllListeners(event?: string): EventEmitter

Parameters

  • event?: string optional

Returns

EventEmitter

public removeListener(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public setHost(host: string)

Parameters

  • host: string

public setMaxListeners(n: number)

Parameters

  • n: number

public setProxy(proxyUrl: string, proxyPort: number)

Parameters

  • proxyUrl: string
  • proxyPort: number

public withFilter(newFilter: { handle: (requestOptions: any, next: Function) => void; }): ServiceClient

Parameters

  • newFilter: { handle: (requestOptions: any, next: Function) => void; }

Returns

ServiceClient