Public Repository

Last pushed: 4 months ago
Short Description
Client implementation of the Hypertext Transfer Protocol (HTTP) using Java Sockets.
Full Description

HTTP Client and Server

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"
Docker Pull Command
Owner
jppgks

Comments (0)