UNPKG

@webfaas/webfaas-core

Version:

WebFaaS Framework - Core

17 lines 623 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MessageConnectionHTTP = void 0; class MessageConnectionHTTP { constructor(invokeContext, log, clientHTTP) { this.clientHTTP = clientHTTP; this.invokeContext = invokeContext; } request(url, method, dataRequestBuffer, headers) { return this.clientHTTP.request(url, method, dataRequestBuffer, headers, this.invokeContext); } getTenantID() { return this.invokeContext.tenantID; } } exports.MessageConnectionHTTP = MessageConnectionHTTP; //# sourceMappingURL=MessageConnectionHTTP.js.map