How to set custom headers for websocket? #42
Answered
by
eycorsican
mokhtarabadi
asked this question in
Q&A
-
because sometimes I need to give the leaf IP instead of the hostname, I need to set the Host header in WebSocket (because I used CDN) |
Beta Was this translation helpful? Give feedback.
Answered by
eycorsican
Feb 8, 2021
Replies: 2 comments 2 replies
-
The feature is supported on master now. https://github.com/eycorsican/leaf/blob/master/README.zh.md#ws-1 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mokhtarabadi
-
提示udp downlink error: ws error: UTF-8 encoding error |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The feature is supported on master now. https://github.com/eycorsican/leaf/blob/master/README.zh.md#ws-1