IPWorks EDI 2020 Kotlin Edition

Questions / Feedback?

SetRequestHeader Method

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

Syntax

public fun setRequestHeader(header: String?, value: String?)

Remarks

This method is used when preparing the message. It allows the user to set or add HTTP request headers as needed. You must pass this method a name of the header and a value. This method thens looks to see if the header you are trying to set is already in the HTTP request message. If it is, then this method simply changes the value of the header. If it is not found, this method adds the new header.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks EDI 2020 Kotlin Edition - Version 20.0 [Build 8033]