codeunitAL Developmentofficial - Microsoftderived - from the source, no model text

Codeunit 2354 "Http Content"

System Application · System.RestClient

Across versions

  1. BC23-25present
  2. BC2610 procedures removed, 2 procedures added
  3. BC27-30unchanged

Neighbourhood 5 connected objects and pages

Codeunit 2355 "Http Content Impl." (calls, 13 links)Http Content Impl.Codeunit 9123 "SharePoint Graph Req. Helper" (calls, 4 links)SharePoint Graph Req. HelperCodeunit 2351 "Rest Client Impl." (calls, 3 links)Rest Client Impl.Codeunit 2353 "Http Request Message Impl." (calls)Http Request Message Impl.Codeunit 2357 "Http Response Message Impl." (calls)Http Response Message Impl.

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

System Application · System.RestClient · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Public

Procedures

  • Create(Content: Text): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified Text content.
  • Create(Content: SecretText): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified SecretText content.
  • Create(Content: Text; ContentType: Text): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified Text content and content type.
  • Create(Content: SecretText; ContentType: Text): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified SecretText content and content type.
  • Create(Content: JsonObject): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified JsonObject content.
  • Create(Content: JsonArray): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified JsonArray content.
  • Create(Content: JsonToken): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified JsonToken content.
  • Create(Content: XmlDocument): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified XmlDocument content.
  • Create(Content: Codeunit "Temp Blob"): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified “Temp Blob” Codeunit content.
  • Create(Content: Codeunit "Temp Blob"; ContentType: Text): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified “Temp Blob” Codeunit content and content type.
  • Create(Content: InStream): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified InStream content.
  • Create(Content: InStream; ContentType: Text): Codeunit "Http Content": Initializes a new instance of the Http Content class with the specified InStream content and content type.
  • Create(Content: HttpContent): Codeunit "Http Content": Initializes a new instance of the Http Content object with the specified HttpContent object.
  • SetContentTypeHeader(ContentType: Text): Sets the Content-Type header of the HttpContent object.
  • AddContentEncoding(ContentEncoding: Text): Sets the Content-Encoding header of the HttpContent object.
  • SetHeader(Name: Text; Value: Text): Sets a new value for an existing header of the HttpContent object, or adds the header if it does not already exist.
  • SetHeader(Name: Text; Value: SecretText): Sets a new value for an existing header of the HttpContent object, or adds the header if it does not already exist.
  • GetHttpContent(): HttpContent: Gets the HttpContent object.
  • AsText(): Text: Gets the content of the HTTP response message as a string.
  • AsSecretText(): SecretText: Gets the content of the HTTP response message as a SecretText.
  • AsBlob(): Codeunit "Temp Blob": Gets the content of the HTTP response message as a “Temp Blob” Codeunit.
  • AsInStream(): InStream: Gets the content of the HTTP response message as an InStream.
  • AsXmlDocument(): XmlDocument: Gets the content of the HTTP response message as an XmlDocument.
  • AsJson(): JsonToken: Gets the content of the HTTP response message as a JsonToken.
  • AsJsonObject(): JsonObject + BC26: Gets the content of the HTTP response message as a JsonObject.
  • AsJsonArray(): JsonArray + BC26: Gets the content of the HTTP response message as a JsonArray.

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Http Content"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources