Configure
pyvider.rpcplugin.config.configure
¶
Configuration helper functions for the RPC Plugin framework.
This module provides convenience functions for configuring the RPC plugin system.
Classes¶
Functions¶
configure
¶
configure(
magic_cookie: str | None = None,
protocol_version: int | None = None,
transports: list[str] | None = None,
auto_mtls: bool | None = None,
handshake_timeout: float | None = None,
**kwargs: Any
) -> None
Configure the RPC plugin system with common settings.
This is a convenience function for setting up the most commonly used configuration options.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
magic_cookie
|
str | None
|
Magic cookie value for handshake authentication |
None
|
protocol_version
|
int | None
|
Preferred protocol version |
None
|
transports
|
list[str] | None
|
List of supported transports |
None
|
auto_mtls
|
bool | None
|
Enable automatic mTLS certificate generation |
None
|
handshake_timeout
|
float | None
|
Timeout for handshake operations in seconds |
None
|
**kwargs
|
Any
|
Additional configuration parameters |
{}
|