PeanutButter
Loading...
Searching...
No Matches
PeanutButter.SimpleHTTPServer Namespace Reference

Classes

class  HttpConstants
 Provides some constants which are useful in an http context. More...
class  HttpMethodsExtensions
 Provides extension methods for HttpMethods enum values. More...
class  HttpProcessor
 Processor for HTTP requests on top of the generic TCP processor. More...
class  HttpServer
 Provides the simple HTTP server you may use ad-hoc. More...
class  HttpServerBase
 Provides the abstract base HTTP Server. More...
class  HttpServerFactory
interface  IHttpServer
 Provides a simple way to run an in-memory http server situations like testing or where a small, very simple http server might be useful. More...
interface  IHttpServerBase
 Describes the base functionality in a simple http-server. More...
interface  IHttpServerFactory
 Describes a factory for your http server usage: More...
class  RequestLogItem
 Log item for requests. More...
class  StreamExtensions
 Provides some extensions for the stream object provided into a HttpServer handler function. More...
class  TcpClientExtensions
 Provides the ReadLine extension for a TcpClient. More...
class  TcpIoWrapper
 Wraps a TcpClient for easier IO. More...
class  TcpServerProcessor
 Abstract TCP processor. More...

Enumerations

enum  HttpServerPipelineResult { HandledExclusively , Handled , NotHandled }
 Result to return from one part of the pipeline. More...
enum  HttpMethods {
  Any , Get , Post , Put ,
  Delete , Patch , Options , Head
}
 Http methods supported by requests. More...
enum  HttpVersion { Version10 = 0 , Version11 }
 Version of the HTTP protocol. More...

Enumeration Type Documentation

◆ HttpMethods

Http methods supported by requests.

Enumerator
Any 

This request is for or supports any method.

Get 

This request is for or supports GET.

Post 

This request is for or supports POST.

Put 

This request is for or supports PUT.

Delete 

This request is for or supports DELETE.

Patch 

This request is for or supports PATCH.

Options 

This request is for or supports OPTIONS.

Head 

This request is for or supports HEAD.

◆ HttpServerPipelineResult

Result to return from one part of the pipeline.

Enumerator
HandledExclusively 

The request was handled exclusively and processing should stop.

Handled 

The request was handled, but may continue along the pipeline.

NotHandled 

The request was not handled at all: processing should continue.

◆ HttpVersion

Version of the HTTP protocol.

Enumerator
Version10 

HTTP/1.0.

Version11 

HTTP/1.1.