ReadRequest Method
Reads the AS2 request from the HTTP session.
Object Oriented Interface
public function doReadRequest();
Procedural Interface
ipworksedi_as2receiver_do_readrequest($res);
Remarks
ReadRequest reads the AS2 request from the content of the Request (and optionally the RequestHeadersString) property. The class will parse the request from Request. The headers will be read into RequestHeaders. Finally, the class 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.