Skip to content

webceyhan/networking-models

Repository files navigation

CodeQL

Computer Networking Models

It is a composite repositiory to demonstrate below networking models:

  • Http
  • Http2 (SSL)
  • Long-Polling
  • Server-Sent-Event
  • WebSocket

Report Issue | Request Feature | @webceyhan


Requirements

You need to install the Node.js and npm package manager first.

Recommended IDE: VSCode


Installation

  1. Clone the repository.
    git clone https://github.com/webceyhan/networking-models.git
  2. Get inside the cloned project folder.
    cd networking-models
  3. Install NPM packages.
    npm install

Usage

You can use following commands to do various task with the project.

npm run http            # run http model
npm run http2           # run http2 model
npm run long-polling    # run long-polling model
npm run sse             # run server-sent-event model
npm run websocket       # run websocket model

Take a look at the other scripts in package.json


References