- com
- pcbsys
- nirvana
- client
- CustomHTTPRequestHeader
- HeaderConnectionScope
Scope of usage of the header. More...
Scope of usage of the header.
Universal messaging NHP(S) connections are using internally two physical http connections:
Connect connection- alive during the lifetime of the NHP connection and used for the handshake with the UM server. Setting headers in only this connection can be used to pass custom handshake information. In this case use HeaderConnectionScope.CONNECT_CONNECTION
Push connection- used to push events to the server and its lifecycle is shorter then the Connect connection. In this case use HeaderConnectionScope.POST_CONNECTION
If the custom headers need to be set on all connections then the HeaderConnectionScope.ALL_CONNECTION enum should be used