Skip to content

skssfo/http2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

http2

HTTP2 samples using Netty 4.1.

The project has a server and a client target. The client sends a GET request for which the server sends push_promise request & response every 5 seconds. There is also a code path where the server sends a timer event every 5 seconds to the client in the same stream that the client sent its request.

The build.gradle file has targets to run the server and the client. Note that the ALPN library needs to be in the boot classpath.

ALPN libs are available here - http://mvnrepository.com/artifact/org.mortbay.jetty.alpn/alpn-boot

The version of the ALPN lib depends on the version of JDK. You can find the mapping here - http://www.eclipse.org/jetty/documentation/current/alpn-chapter.html#alpn-versions

Modify the build.gradle file to use the correct path to the ALPN lib on your system.

Releases

No releases published

Packages

No packages published

Languages