Classes
| Class | Description | |
|---|---|---|
|
BufferedSocket | BufferedSocket manages asynchronous communications via TCP/IP sockets and exposes events and methods that make it easier for application developers to reap the benefits of async. patterns with a simpler interface. This class is used internally by Munja. |
|
Connect | Connect rule used for blocking connections based on host name or IP address |
|
Country | A rule class used to match country information, if available, for incoming requests |
|
Filter | Filters are used to filter content based on simple text searching algorithm. This is used for checking incoming responses against a database of known malicious terms and providing automatic rule creation based on the results. |
|
Handler | Abstract base class for handlers of different service connection types. This class provides common functionality for all types of handler. This class is abstract (MustInherit in Visual Basic)abstractMustInherit and so cannot be instantiated. |
|
HTTPHandler | Handler class for HTTP proxy connections. This is the main class that processes connections for HTTP client, server and proxy services. |
|
IPHandler | Connection handler for transparent IP tunnel services |
|
MunjaService | This is the main class that you will need to instantiate in order to create an HTTP proxy or transparent IP tunnel. Application developers can create an instance of this class and subscribe to events in order to intercept requests and responses in the HTTP pipeline. |
|
MunjaService.ConnectionEventArgs | Provides data for the Connecting and Connected events. |
|
Request | This class represents a HTTP request. It is mostly used internally but can also be used by application developers if creating requests programmatically rather then passing on requests from a client application such as a web browser. |
|
Response | Represents a response to a HTTP request |
|
Rule | Represents a rule that can be used to configure request blocking or redirection |
|
ServiceSettings | The settings used to configure a service within Munja. The settings are serialisable as XML for persistence of service settings across sessions |
Delegates
| Delegate | Description | |
|---|---|---|
|
BufferedSocket.OperationCompleteHandler | Method which handles the SendCompleted and DataReceived events |
|
HTTPHandler.RequestReceivedHandler | Method which handles the RequestReceived event |
|
HTTPHandler.RequestSentHandler | Method which handles the RequestSent event |
|
HTTPHandler.ResponseReceivedHandler | Method which handles the ResponseReceived event |
|
HTTPHandler.ResponseSentHandler | The method which handles the ResponseSent event |
|
MunjaService.ConnectingHandler | Represents the method that will handle the Connecting and Connected events |
Enumerations
| Enumeration | Description | |
|---|---|---|
|
HTTPHandler.ClientReceiveStates | Enumerator representing the state of the connection with the client |
|
HTTPHandler.ClientSendStates | Enumerator representing the state of sending a response to a client |
|
HTTPHandler.ServerStates | Enumerator representing the status of a connection with an origin server |
|
MunjaService.ServiceType | The type of service to be created |