Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Latest commit

 

History

History

basic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

HTTP/2 basic server on linux

This folder contains a basic server example for running on linux targets.

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Dependencies

See main README

Running the example

Clone the repo:

$ git clone https://github.com/niclabs/two.git

Compile the example

$ cd two
$ make

Run the server in the port 8888

$ bin/basic 8888
[INFO] Starting HTTP/2 server in port 888

Test the connection using curl

$ curl --http2-prior-knowledge http://localhost:8888
Hello, World!!!