ASPLes / nopoll

OpenSource WebSocket toolkit
http://www.aspl.es/nopoll
GNU Lesser General Public License v2.1
126 stars 73 forks source link

As a websocket server, how to get the custom header of the client #73

Open a517363523 opened 1 year ago

a517363523 commented 1 year ago

I put the websocket server behind nginx, and I need to get x-real-ip from the client header as the real IP of the client. There is no function to get the header in the document.