- Open https://webtransport.day/serverless with Chrome latest version (at least verion 98).
- Click
go to allegro cloud
,reirect to https://allegrocloud.io console. - Click
Sign Up
->Continue With GitHub
to login with your Github Account. - Click
+ New Project
to create a new Geo-distributed Service. - In the detail page of project, you will get
Zipper Address
,App Key
andApp Secret
. - Back to https://webtransport.day/serverless and paste values.
- Click
Connect
to create the webtransport connection. - Type
hello world
belowSend data over WebTransport
. - Click
Send data
, will seeSent datagram: hello world
inEvent Log
, but there are no response. - Clone this repo
gh repo clone fanweixiao/webtransport-serverless-demo
and open it in your favorite terminal. - Install
YoMo CLI
:$ curl -fsSL "https://bina.egoist.sh/yomorun/cli?name=yomo" | sh
- Run
yomo run -u "edge.yomo.dev:9000" -d "app-key-secret:${YOUR_APP_KEY}|${YOUR_APP_SECRET}" -n testwt ./func.go
- Back to Chrome, Click
Send data
, will see the responseDatagram received: HELLO WORLD
inEvent Log
.
-
Notifications
You must be signed in to change notification settings - Fork 1
Demo for WebTransport.day serverless
License
fanweixiao/webtransport-serverless-demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Demo for WebTransport.day serverless