SetRequestHeader Method

Allows the user to set or add arbitrary HTTP request headers.

Syntax

public void SetRequestHeader(string headerName, string headerValue);
Public Sub SetRequestHeader(ByVal HeaderName As String, ByVal HeaderValue As String)

Remarks

HeaderName should contain the header name, and HeaderValue should contain its value. Use this to set headers such as To, Date, etc. Note that a default value for Date will automatically be determined and this method may be used to override the default.

SetRequestHeader may be used to set any header except for the following: AS2-To, AS2-From, AS2-Version, Subject, Message-Id, Disposition-Notification-To, Disposition-Notification-Options, Receipt-Delivery-Option, Host, Content-Length.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 .NET Edition - Version 20.0 [Build 8203]