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

Codeunit 2352 "Http Request Message"

System Application · System.RestClient

Across versions

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

Neighbourhood 3 connected objects and pages

Codeunit 2353 "Http Request Message Impl." (calls, 16 links)Http Request Message Impl.Codeunit 2351 "Rest Client Impl." (calls, 2 links)Rest Client Impl.Codeunit 2360 "Http Client Handler" (calls)Http Client Handler

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(Method: Enum "Http Method"; RequestUri: Text; Content: Codeunit "Http Content"): Codeunit "Http Request Message" + BC26: Creates a new instance of the HttpRequestMessage object.
  • SetHttpMethod(Method: Text): Sets the HTTP method or the HttpRequestMessage object.
  • SetHttpMethod(Method: Enum "Http Method"): Sets the HTTP method for the HttpRequestMessage object.
  • GetHttpMethod(): Text: Gets the HTTP method for the HttpRequestMessage object.
  • SetRequestUri(Uri: Text): Sets the Uri used for the HttpRequestMessage object.
  • GetRequestUri(): Text: Gets the Uri used for the HttpRequestMessage object.
  • SetHeader(HeaderName: Text; HeaderValue: Text): Sets a new value for an existing header of the Http Request object, or addds the header if it does not already exist.
  • SetHeader(HeaderName: Text; HeaderValue: SecretText): Sets a new value for an existing header of the Http Request object, or addds the header if it does not already exist.
  • GetHeaderValues(HeaderName: Text): List of [Text] + BC26: Gets the values of the header with the given name from the HttpRequestMessage object.
  • GetSecretHeaderValues(HeaderName: Text): List of [SecretText] + BC26: Gets the secret values of the header with the given name from the HttpRequestMessage object.
  • SetCookie(Name: Text; Value: Text): Boolean + BC26 + BC26: Sets the cookie given a name and value
  • SetCookie(Cookie: Cookie): Boolean + BC26 + BC26: Sets the cookie given a cookie object
  • GetCookieNames(): List of [Text] + BC26: Gets the names of the cookies that are set in the HttpRequestMessage object.
  • GetCookies(): List of [Cookie] + BC26: Gets the cookies that are set in the HttpRequestMessage object.
  • GetCookie(Name: Text): Cookie + BC26 + BC26: Gets the cookie with the given name from the HttpRequestMessage object.
  • GetCookie(Name: Text; var Cookie: Cookie): Boolean + BC26 + BC26: Gets the cookie with the given name from the HttpRequestMessage object.
  • RemoveCookie(Name: Text): Boolean + BC26: Removes the cookie with the given name from the HttpRequestMessage object.
  • SetHttpRequestMessage(var RequestMessage: HttpRequestMessage): Sets the HttpRequestMessage that is represented by the HttpRequestMessage object.
  • GetHttpRequestMessage(): HttpRequestMessage: Gets the HttpRequestMessage that is represented by the HttpRequestMessage object.
  • SetContent(HttpContent: Codeunit "Http Content"): Sets the content of the HttpRequestMessage that is represented by the HttpRequestMessage object.

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 Request Message"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources