OdooJsonRpcClient
OdooJsonRpcClient copied to clipboard
Add support for http message handlers through configuration
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:
- Enhanced flexibility in customizing HTTP request and response handling within the OdooClient.
- Centralized authentication logic and request modification capabilities through the custom HTTP message handler.
- Improved debugging and auditing capabilities via HTTP request and response logging.
- Streamlined error handling for specific error conditions returned by the Odoo server.
- 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.
Can you update Readme?
Can you update Readme?
It's done
@patricoos any hope this being merged. I am looking for something like that. thanks @ashGHub