C# (CSharp) Woopsa 네임스페이스

클래스들

이름 설명
AccessControlProcessor
AuthenticationCheckEventArgs
BaseAuthenticator
BaseWoopsaSubscriptionServiceSubscription
ClientRequest
CustomThreadPool
CustomThreadPoolThread
HTTPHeader
HTTPRequest Provides a mechanism to get information about an HTTP Request made by a client.

This class is created internally by the Web Server and thus cannot be created from outside code. To handle requests and response, the WebServer.IHTTPRouteHandler interface or the delegate methods in RouteSolver which is available from the WebServer.WebServer.Routes property.

HTTPResponse Provides a mechanism to send a response to a request.

This class is created internally by the Web Server and thus cannot be created from outside code. To handle requestsList and response, the WebServer.IHTTPRouteHandler interface or the delegate methods in RouteSolver which is available from the WebServer.WebServer.Routes property.

When using a method such as WriteString, WriteHTML, SetHeader, etc., no data is actually sent to the client. Instead, data is buffered until the RouteSolver is done processing, which will automatically send the response to the client.

HTTPResponseErrorEventArgs
HTTPServerUtils
LightWeightTimer
LightWeightTimerScheduler
LightWeightTimerTimeClass
LogEventArgs
MIMETypeMap
MIMETypes.Application
MIMETypes.Image
MIMETypes.Text
MultipleRequestResponse
NotificationConcurrentQueue
NotificationEventArgs
PreRouteProcessor A Pre-Route Processor is a type of processing layer which happens before any route processing. This means that the request can still go to any other Route Handler, or that the HTTP request will lead to a 404, for example. It's very useful for making a TLS or HTTP 2 layer, for example.
ReadOnlyHeaderDictionary
RouteHandlerDelegate
RouteHandlerEmbeddedResources
RouteHandlerFileSystem
RouteHandlerRedirect
RouteMapper Provides mechanisms that allow to map a route to a route handler. This class is used mostly internally, except when adding post-route processors.
RouteSolver Provides a mechanism to match a URL with an appropriate response.

The RouteSolver is a solution to the common problem of serving web pages based on the request made by a browser. It's an internal part of the WebServer and thus cannot be created from outside.

The public methods, however, allow the user to add routes to the solver using either delegates for simple cases, or classes that implement the WebServer.IHTTPRouteHandler interface.

RoutingErrorEventArgs
ServerRequest
SimpleAuthenticator
TlsProcessor
WebServer Provides a simple Web Server

A Web server can be single-threaded or multi-threaded. When it is single-threaded, only a single thread handles all incoming requests. This means that browsers will have to wait until the response is fully delivered before making the next request. This also means that the Connection: Keep-Alive HTTP mechanism cannot be used.

If the server is multi-threaded, then a ThreadPool is used to handle client requests and the Connection: Keep-Alive mechanism is thus supported. This makes page loading times significantly faster, as the browser doesn't need to close and re-open a TCP connection for every resource it fetches.

WebServer.HandlingException
WoopsaBaseClientObject
WoopsaBoundClientObject
WoopsaClient
WoopsaClientExtensions
WoopsaClientMultiRequest
WoopsaClientNotification
WoopsaClientNotifications
WoopsaClientProperty
WoopsaClientProtocol
WoopsaClientRequest
WoopsaClientRequestResult
WoopsaClientSubscription
WoopsaClientSubscriptionChannel
WoopsaConst
WoopsaDynamicClient
WoopsaDynamicClientObject
WoopsaException
WoopsaExceptionMessage
WoopsaFormat
WoopsaFormat.WoopsaErrorResult
WoopsaFormat.WoopsaReadResult
WoopsaInvalidOperationException
WoopsaInvalidSubscriptionChannelException
WoopsaJsonData
WoopsaJsonDataDynamic
WoopsaJsonDataDynamicExtensions
WoopsaJsonDataExtensions
WoopsaMetaResult
WoopsaMethodArgumentInfoMeta
WoopsaMethodMeta
WoopsaMultiRequestConst
WoopsaMultiRequestHandler
WoopsaNotFoundException
WoopsaNotificationEventArgs
WoopsaNotificationsLostException
WoopsaPropertyMeta
WoopsaServer
WoopsaServerModelAccessFreeSection
WoopsaServerNotification
WoopsaServerNotifications
WoopsaSubscriptionChannel
WoopsaSubscriptionService
WoopsaSubscriptionServiceConst
WoopsaSubscriptionServiceImplementation
WoopsaSubscriptionServiceSubscriptionMonitor
WoopsaSubscriptionServiceSubscriptionMonitorClient
WoopsaSubscriptionServiceSubscriptionMonitorServer
WoopsaSubscriptionServiceSubscriptionServerSubClient
WoopsaTypeUtils
WoopsaUnboundClientObject
WoopsaUtils
WoopsaValue