How to use the azure-iot-http-base.Http function in azure-iot-http-base

To help you get started, we’ve selected a few azure-iot-http-base examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-iot-sdk-node / provisioning / transport / http / src / http.ts View on Github external
constructor(httpBase?: Base) {
    super();
    this._httpBase = httpBase || new Base();
    this._config.pollingInterval = ProvisioningDeviceConstants.defaultPollingInterval;
    this._config.timeoutInterval = ProvisioningDeviceConstants.defaultTimeoutInterval;
  }
github Azure / azure-iot-sdk-node / device / core / src / blob_upload / file_upload_api.ts View on Github external
constructor(authenticationProvider: AuthenticationProvider, httpTransport?: any) {
        /*Codes_SRS_NODE_FILE_UPLOAD_ENDPOINT_16_019: [`FileUploadApi` shall throw a `ReferenceError` if `authenticationProvider` is falsy.]*/
        if (!authenticationProvider) throw new ReferenceError('authenticationProvider cannot be \'' + authenticationProvider + '\'');

        this._authenticationProvider = authenticationProvider;
        /*Codes_SRS_NODE_FILE_UPLOAD_ENDPOINT_16_018: [`FileUploadApi` shall instantiate the default `azure-iot-http-base.Http` transport if `transport` is not specified, otherwise it shall use the specified transport.]*/
        this.http = httpTransport ? httpTransport : new DefaultHttpTransport();
    }
github Azure / azure-iot-sdk-node / device / transport / http / lib / http.js View on Github external
function Http(config) {
  this._config = config;
  this._http = new Base();
}
github Azure / azure-iot-sdk-node / service / lib / registry_http.js View on Github external
function Http(config) {
  this._config = config;
  this._http = new Base();
}

azure-iot-http-base

HTTP operations used by Azure IoT device and service SDKs

MIT
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis

Popular azure-iot-http-base functions

Similar packages