Intechnity-com / OdooJsonRpcClient

Odoo Client Json Rpc
MIT License
70 stars 31 forks source link

Add support for http message handlers through configuration #96

Open ashGHub opened 5 months ago

ashGHub commented 5 months ago

Key Changes:

The primary change involves extracting the HTTP client initialization from the Odoo class and facilitating the creation of an HTTP client from a custom HTTP client factory.

Benefits:

  1. Enhanced flexibility in customizing HTTP request and response handling within the OdooClient.
  2. Centralized authentication logic and request modification capabilities through the custom HTTP message handler.
  3. Improved debugging and auditing capabilities via HTTP request and response logging.
  4. Streamlined error handling for specific error conditions returned by the Odoo server.
  5. Facilitated integration with various middleware components for cross-cutting concerns.

This pull request aims to improve the OdooClient class by supporting HTTP message handlers, enabling greater customization and versatility in interacting with the Odoo server.

patricoos commented 3 months ago

Can you update Readme?

ashGHub commented 2 months ago

Can you update Readme?

It's done