Skip to content

y-i/quictransport-server-initiated-stream-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quictransport-server-initiated-stream-sample

Number guessing game using QuicTransport stream initiated by server

This sample is based on https://github.com/GoogleChrome/samples/tree/gh-pages/quictransport.

How to use

Run Server

  1. Generate a certificate and a private key and save them in cert directory
  2. Run pipenv shell
  3. Run pipenv run python ./server/stream_from_server.py ./cert/certificate.pem ./cert/certificate.key

Run Client (Mac)

  1. Install Google Chrome canary version
  2. Run open -a /Applications/Google\ Chrome\ Canary.app --args --enable-experimental-web-platform-features --origin-to-force-quic-on=localhost:4433 --ignore-certificate-errors-spki-list=<YOUR FINGERPRINT>
  3. Open guessing.html
  4. Press "Connect" button
  5. Input a number and press "Send" button

About

Number guessing game using QuicTransport stream initiated by server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published