I need to send a API key to connect to a Websocket server. As i read i need to set a header
with a websocketclient on the esp8266 i need to call webSocket.setAuthorization("apikey", MyApiKey);
how can i do this with the B4J Library?
org.eclipse.jetty.websocket.api.UpgradeException: 401 Unauthorized
Caused by: org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: Authentication challenge without WWW-Authenticate header
with a websocketclient on the esp8266 i need to call webSocket.setAuthorization("apikey", MyApiKey);
how can i do this with the B4J Library?
Last edited: