Header sets a custom HTTP header for the Pusher's client. For convenience, this method returns a pointer to the Pusher itself.
(header http.Header)
| 206 | // Header sets a custom HTTP header for the Pusher's client. For convenience, this method |
| 207 | // returns a pointer to the Pusher itself. |
| 208 | func (p *Pusher) Header(header http.Header) *Pusher { |
| 209 | p.header = header |
| 210 | return p |
| 211 | } |
| 212 | |
| 213 | // BasicAuth configures the Pusher to use HTTP Basic Authentication with the |
| 214 | // provided username and password. For convenience, this method returns a |
no outgoing calls