Skip to content

Instantly share code, notes, and snippets.

View SineStriker's full-sized avatar

SineStriker SineStriker

  • SJTU SE
View GitHub Profile
@define-private-public
define-private-public / HttpServer.cs
Last active November 8, 2024 10:11
A Simple HTTP server in C#
// Filename: HttpServer.cs
// Author: Benjamin N. Summerton <define-private-public>
// License: Unlicense (http://unlicense.org/)
using System;
using System.IO;
using System.Text;
using System.Net;
using System.Threading.Tasks;