Redigera

Dela via


HttpRequestMessage.GetHeaders(var HttpHeaders) Method

Version: Available or changed with runtime version 1.0.

Gets a reference to the collection of HTTP request headers.

Syntax

[Ok := ]  HttpRequestMessage.GetHeaders(var Headers: HttpHeaders)

Parameters

HttpRequestMessage
 Type: HttpRequestMessage
An instance of the HttpRequestMessage data type.

Headers
 Type: HttpHeaders
A variable that will contain a reference to the collection of HTTP request headers after the method completes successfully.

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was completed successfully, otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

HttpRequestMessage Data Type
Get Started with AL
Developing Extensions