Codeunit 8954 AFS Web Request Helper

System Application, System.Azure.Storage.Files

Source AL, 187 lines

src/System Application/App/Azure File Services API/src/Helper/AFSWebRequestHelper.Codeunit.allines 11 to 26 of 187, Copyright (c) Microsoft Corporation. MIT

codeunit 8954 "AFS Web Request Helper"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        ReadResponseFailedErr: Label 'Could not read response.';        HttpResponseInfoErr: Label '%1.\\Response Code: %2 %3', Comment = '%1 = Default Error Message ; %2 = Status Code; %3 = Reason Phrase';    [NonDebuggable]    procedure GetOperationAsText(var AFSOperationPayload: Codeunit "AFS Operation Payload Impl."; var ResponseText: Text; OperationNotSuccessfulErr: Text): Codeunit "AFS Operation Response"    var        AFSOperationResponse: Codeunit "AFS Operation Response";    begin        AFSOperationResponse := GetOperation(AFSOperationPayload, OperationNotSuccessfulErr);

All 187 lines

Public procedures 9 in 29

GetOperationAsText(var AFSOperationPayload: Codeunit "AFS Operation Payload Impl."; var ResponseText: Text; OperationNotSuccessfulErr: Text): Codeunit "AFS Operation Response"new in 23
GetOperationAsStream(var AFSOperationPayload: Codeunit "AFS Operation Payload Impl."; var InStream: InStream; OperationNotSuccessfulErr: Text): Codeunit "AFS Operation Response"new in 23
HeadOperation(var AFSOperationPayload: Codeunit "AFS Operation Payload Impl."; OperationNotSuccessfulErr: Text): Codeunit "AFS Operation Response"new in 23
PutOperation(var AFSOperationPayload: Codeunit "AFS Operation Payload Impl."; OperationNotSuccessfulErr: Text): Codeunit "AFS Operation Response"new in 23
PutOperation(var AFSOperationPayload: Codeunit "AFS Operation Payload Impl."; HttpContent: HttpContent; OperationNotSuccessfulErr: Text): Codeunit "AFS Operation Response"new in 23
DeleteOperation(var AFSOperationPayload: Codeunit "AFS Operation Payload Impl."; OperationNotSuccessfulErr: Text): Codeunit "AFS Operation Response"new in 23

All 9 procedures