reiver,
@reiver@mastodon.social avatar

3/

(Using some 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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • SmallWeb
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines