GlidingSquirrel 0.5.0-alpha
.NET Framework 4.6.2
This is a prerelease version of GlidingSquirrel.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
Install-Package GlidingSquirrel -Version 0.5.0-alpha
dotnet add package GlidingSquirrel --version 0.5.0-alpha
<PackageReference Include="GlidingSquirrel" Version="0.5.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GlidingSquirrel --version 0.5.0-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GlidingSquirrel, 0.5.0-alpha"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install GlidingSquirrel as a Cake Addin
#addin nuget:?package=GlidingSquirrel&version=0.5.0-alpha&prerelease
// Install GlidingSquirrel as a Cake Tool
#tool nuget:?package=GlidingSquirrel&version=0.5.0-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
GlidingSquirrel
A http (and Websockets!) server, implemented in C#.
Originally built for the /r/dailyprogrammer hard challenge #322.
GlidingSquirrel is currently in alpha testing! Don't use this in production unless you really know what you're doing š
The logo is temporary!
Features
- HTTP 1.0 / 1.1 (RFC 1945 / RFC 1616) supported (mostly - bug reports & pull requests welcome š)
- Uses C⯠7
- Does not have anything to do with
System.Net.HttpServer
whatsoever at all - Easily extendable (it's an abstract class)
- Supports client requests with bodies (e.g.
POST
andPUT
, but any http verb with acontent-length
will work) - Supports
HEAD
requests - Parses and respects the
Accepts
HTTP header - Supports keep-alive connections (HTTP 1.1 only, of course)
- Supports Websockets (RFC 6455, Initial implementation, version 13 only, needs thorough testing - detailed bug reports welcome š)
Todo
- Trailing headers
- Make logging much more flexible (it logs to the console only at the moment)
- Give implementors of
WebsocketServer
a cleaner way to decide whether they want to accept a connection or not
Getting Started
A tutorial will be coming soon. For now, take a look at the HttpServer
class and look at the abstract methods and their intellisense comments.
Useful Links
Product | Versions |
---|---|
.NET Framework | net462 net463 net47 net471 net472 net48 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
- MimeSharp (>= 1.0.0)
- System.ValueTuple (>= 4.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.7.1-alpha | 554 | 8/26/2018 |
0.7.0-alpha | 514 | 7/31/2018 |
0.6.3-alpha | 591 | 6/21/2018 |
0.6.2-alpha | 594 | 6/19/2018 |
0.6.1-alpha | 698 | 12/23/2017 |
0.6.0-alpha | 715 | 12/19/2017 |
0.5.0-alpha | 619 | 12/18/2017 |
Initial Release.