Classes

  Class Description
Public class 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.
Public class Connect Connect rule used for blocking connections based on host name or IP address
Public class Country A rule class used to match country information, if available, for incoming requests
Public class 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.
Public class 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.
Public class HTTPHandler Handler class for HTTP proxy connections. This is the main class that processes connections for HTTP client, server and proxy services.
Public class IPHandler Connection handler for transparent IP tunnel services
Public class 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.
NestedPublic class MunjaService.ConnectionEventArgs Provides data for the Connecting and Connected events.
Public class 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.
Public class Response Represents a response to a HTTP request
Public class Rule Represents a rule that can be used to configure request blocking or redirection
Public class 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
NestedPublic delegate BufferedSocket.OperationCompleteHandler Method which handles the SendCompleted and DataReceived events
NestedPublic delegate HTTPHandler.RequestReceivedHandler Method which handles the RequestReceived event
NestedPublic delegate HTTPHandler.RequestSentHandler Method which handles the RequestSent event
NestedPublic delegate HTTPHandler.ResponseReceivedHandler Method which handles the ResponseReceived event
NestedPublic delegate HTTPHandler.ResponseSentHandler The method which handles the ResponseSent event
NestedPublic delegate MunjaService.ConnectingHandler Represents the method that will handle the Connecting and Connected events

Enumerations

  Enumeration Description
NestedPublic enumeration HTTPHandler.ClientReceiveStates Enumerator representing the state of the connection with the client
NestedPublic enumeration HTTPHandler.ClientSendStates Enumerator representing the state of sending a response to a client
NestedPublic enumeration HTTPHandler.ServerStates Enumerator representing the status of a connection with an origin server
NestedPublic enumeration MunjaService.ServiceType The type of service to be created