Skip to content

JavaScript jQuery API custom headers

Sebastian Lövdahl edited this page Sep 18, 2013 · 2 revisions

To send custom headers when creating a connection do like this:

var request = new atmosphere.AtmosphereRequest();
request.headers = {"custom-name": "custom-value"}

If the Atmosphere protocol is enabled the headers are also attached when the disconnect request is sent when closing the connection.

Step by Step Tutorials

Concepts & Architecture

15 Minutes Tutorial

Advanced Topics

API

Known WebServer Issues

References

External Documentations

githalytics.com alpha

Clone this wiki locally