reiver, 7 months ago 3/ (Using some #golang code) something like this — const protocolName string = "myprotocol/1" var hostName string = "www.example.com" prefix := "UPGRADE /.well-known/upgrade/"+ protocolName +" HTTP/1.1" + "\r\n"+ "Connection: upgrade" + "\r\n"+ "Upgrade: "+protocolName + "\r\n"+ "Host: "+ hostName + "\r\n"+ "\r\n" Where you replace 'protocolName' with your actual protoco-name. And replace 'hostName' with the server host-name #HTTP #HTTPS #HTTPUpgrade #smallNet #smallWeb #smolNet #smolWeb
3/
(Using some #golang code) something like this —
const protocolName string = "myprotocol/1"
var hostName string = "www.example.com"
prefix := "UPGRADE /.well-known/upgrade/"+ protocolName +" HTTP/1.1" + "\r\n"+ "Connection: upgrade" + "\r\n"+ "Upgrade: "+protocolName + "\r\n"+ "Host: "+ hostName + "\r\n"+ "\r\n"
Where you replace 'protocolName' with your actual protoco-name.
And replace 'hostName' with the server host-name
#HTTP #HTTPS #HTTPUpgrade #smallNet #smallWeb #smolNet #smolWeb