AddHeaders method

void AddHeaders(
  1. WebHeaderCollection? webHeaderCollection
)
Allows the subclasses to add their own header information The HTTP request headers

Implementation

void AddHeaders(WebHeaderCollection? webHeaderCollection) {
  if (!StringUtils.IsNullOrEmpty(this.AnchorMailbox)) {
    webHeaderCollection!.Set(_AnchorMailboxHeaderName, this.AnchorMailbox);
    webHeaderCollection.Set(_ExplicitLogonUserHeaderName, this.AnchorMailbox);
  }
}