Codeunit 8953 AFS HttpContent Helper

System Application, System.Azure.Storage.Files

Source AL, 117 lines

src/System Application/App/Azure File Services API/src/Helper/AFSHttpContentHelper.Codeunit.allines 8 to 23 of 117, Copyright (c) Microsoft Corporation. MIT

codeunit 8953 "AFS HttpContent Helper"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        ContentLengthLbl: Label '%1', Comment = '%1 = Length', Locked = true;        RangeLbl: Label 'bytes=%1-%2', Comment = '%1 = Range Start, %2 = Range End', Locked = true;    /// <summary>    /// Checks if the HttpContent is empty    /// </summary>    /// <param name="HttpContent">The HttpContent to check.</param>    /// <returns>true if the content is not empty, false otherwise.</returns>    [NonDebuggable]

All 117 lines

Public procedures 6 in 29

ContentSet(HttpContent: HttpContent): Booleannew in 23
GetContentLength(var SourceInStream: InStream): Integernew in 23
GetContentLength(SourceText: Text): Integernew in 23
AddFilePutContentHeaders(AFSOperationPayload: Codeunit "AFS Operation Payload Impl."; ContentLength: Integer; ContentType: Text; RangeStart: Integer; RangeEnd: Integer)new in 23
AddFilePutContentHeaders(var HttpContent: HttpContent; AFSOperationPayload: Codeunit "AFS Operation Payload Impl."; var SourceInStream: InStream; RangeStart: Integer; RangeEnd: Integer)new in 23
GetMaxRange(): Integernew in 23