Codeunit 2354 Http Content

System Application, System.RestClient

Source AL, 259 lines

src/System Application/App/Rest Client/src/HttpContent.Codeunit.allines 10 to 25 of 259, Copyright (c) Microsoft Corporation. MIT

codeunit 2354 "Http Content"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        HttpContentImpl: Codeunit "Http Content Impl.";    #region Constructors    /// <summary>Initializes a new instance of the Http Content class with the specified Text content.</summary>    /// <param name="Content">The content to send to the server.</param>    /// <returns>The Http Content object.</returns>    /// <remarks>The Content-Type header will be set to 'text/plain'.</remarks>    procedure Create(Content: Text): Codeunit "Http Content"    begin

All 259 lines

Public procedures 26 in 29

Create(Content: Text): Codeunit "Http Content"new in 23
Create(Content: SecretText): Codeunit "Http Content"new in 23
Create(Content: Text; ContentType: Text): Codeunit "Http Content"new in 23
Create(Content: SecretText; ContentType: Text): Codeunit "Http Content"new in 23
Create(Content: JsonObject): Codeunit "Http Content"new in 23
Create(Content: JsonArray): Codeunit "Http Content"new in 23

All 36 procedures in 23-29

Changes 12 in 26

List17181920212223242526272829
Procedures12
internal SetContent(Content: Text; ContentType: Text)23 to 25
gone
internal SetContent(Content: SecretText; ContentType: Text)23 to 25
gone
internal SetContent(Content: InStream; ContentType: Text)23 to 25
gone
internal SetContent(TempBlob: Codeunit "Temp Blob"; ContentType: Text)23 to 25
gone
internal SetContent(Content: XmlDocument)23 to 25
gone
internal SetContent(Content: JsonObject)23 to 25
gone

All 12 changes in 23-29