Source AL, 175 lines
src/System Application/App/Rest Client/src/HttpRequestMessage.Codeunit.allines 8 to 23 of 175, Copyright (c) Microsoft Corporation. MIT
codeunit 2352 "Http Request Message"{ Access = Public; InherentEntitlements = X; InherentPermissions = X; var HttpRequestMessageImpl: Codeunit "Http Request Message Impl."; /// <summary>Creates a new instance of the HttpRequestMessage object.</summary> /// <param name="Method">The HTTP method to use. Valid options are GET, POST, PATCH, PUT, DELETE, HEAD, OPTIONS</param> /// <param name="RequestUri">The Uri to use for the HTTP request.</param> /// <param name="Content">The Http Content object to use for the HTTP request.</param> /// <returns>The create Http Request Message</returns> procedure Create(Method: Enum "Http Method"; RequestUri: Text; Content: Codeunit "Http Content") HttpRequestMessage: Codeunit "Http Request Message" begin
All 175 lines
Public procedures 20 in 29
All 20 procedures
Changes 10 in 26
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | | 10 | | | |
|---|
| Create(Method: Enum "Http Method"; RequestUri: Text; Content: Codeunit "Http Content"): Codeunit "Http Request Message" | new in 26 |
| added |
| GetHeaderValues(HeaderName: Text): List | new in 26 |
| added |
| GetSecretHeaderValues(HeaderName: Text): List | new in 26 |
| added |
| SetCookie(Name: Text; Value: Text): Boolean | new in 26 |
| added |
| SetCookie(Cookie: Cookie): Boolean | new in 26 |
| added |
| GetCookieNames(): List | new in 26 |
| added |
All 10 changes in 23-29