Skip to content

jppgks/http-client-server

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

HTTP Client and Server Build Status

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"

About

Client and server implementation of the Hypertext Transfer Protocol (HTTP) using Java Sockets

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages