ReadRequest Method
Reads the AS2 request from the HTTP session.
Syntax
[VB.NET] Public Sub ReadRequest()
[C#] public void ReadRequest();
Remarks
ReadRequest reads the AS2 request from the current HttpContext . The component will fetch the request stream from the HTTP session. The headers will be read into RequestHeaders. Finally, the component will parse the headers and populate the following properties:
- AS2From
- AS2To
- AS2VersionIncoming
- MessageId
- MDNTo
- ReceiptDeliveryOption
- RequestedSignatureProtocol
- RequestedMICAlgorithms
ParseRequest may be used to scan the entire message.