This article is a mirror article of machine translation, please click here to jump to the original article.

View: 17366|Reply: 2

[New Issue] websocket question

[Copy link]
Posted on 7/1/2019 11:56:21 PM | | |
This post was last edited by zncliving on 2019-7-2 00:46

How do I add headers in C# WebSocket4Net.dll or websocket-sharp.dll that set the User-Agent Referer and so on?

Is it possible for the server to block client connections by determining the User-Agent Referer?  




Previous:html settings centered
Next:WLOP - Updated to June 2019 Angel Level
Posted on 7/29/2019 9:35:05 PM |
Theoretically, user-agent can be set

The client connection you mentioned can take the URL parameter to determine whether there is permission, and then block it, not based on UA
 Landlord| Posted on 8/3/2019 11:23:59 AM |
Published on 2019-7-29 21:35
Theoretically, user-agent can be set

The client connection you mentioned can take the url parameter to determine whether there is permission, and then block it, not based on u...

The problem is solved, it really has nothing to do with user-agent, and the message is successfully returned by Send(byte data).
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com