IPWorks WebSockets 2020 Kotlin Edition

Questions / Feedback?

ResetHeaders Method

Resets all HTTP Headers, Cookies, LocalFile , and AttachedFile .


public fun resetHeaders()


This method resets all the HTTP Headers as well as LocalFile and AttachedFile to "" (empty string). It also resets the Cookie collection. Use this method before creating a new request, so that headers from the previous message are not carried over to the next one.

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