session
konigle.session
¶
HTTP session management for the Konigle SDK.
This module provides both synchronous and asynchronous HTTP session wrappers that handle authentication, connection pooling, error handling, and logging for all API communications.
AsyncSession
¶
Bases: BaseSession
Asynchronous HTTP session wrapper.
client
property
¶
Get or create asynchronous HTTP client.
aclose()
async
¶
Close the async HTTP client.
delete(url, **kwargs)
async
¶
Make async DELETE request.
get(url, **kwargs)
async
¶
Make async GET request.
patch(url, **kwargs)
async
¶
Make async PATCH request.
post(url, **kwargs)
async
¶
Make async POST request.
put(url, **kwargs)
async
¶
Make async PUT request.
BaseSession
¶
Base session class with shared functionality.
SyncSession
¶
Bases: BaseSession
Synchronous HTTP session wrapper.