Fundamental Data Structures

MethodContext

MethodDescriptor

EventManager

Rpclib supports a simple event system that can be used to have repetitive boiler plate code that has to run for every method call nicely tucked away in one or more event handlers. The popular use-cases include things like database transaction management, logging and measuring performance.

Various Rpclib components support firing events at various stages during the processing of the request, which are documented in the relevant classes.

The classes that support events are:
  • rpclib.application.Application
  • rpclib.service.ServiceBase
  • rpclib.protocol._base.ProtocolBase
  • rpclib.server.wsgi.WsgiApplication

Table Of Contents

Previous topic

Rpclib API Reference

Next topic

Models

This Page