Client and server implementation of the Hypertext Transfer Protocol (HTTP) using Java Sockets.
Written by @StijnCaerts and @jppgks for the second assignment of Computer Networks to learn Socket programming and get familiarized with the basics of distributed programming.
Run server
# π³ Pulls image, then runs server publishing port 8080 on localhost
docker run --name "bernard" -d -p 8080:8080 jppgks/http-server
Interact with the server at localhost:8080
! π
Run client
# Modify arguments (method, host, port) as you see fit
docker run -it \
--network container:"bernard" \
jppgks/http-client \
-Pmethod="GET" -Phost="localhost" -Pport="8080"