Skip to main content

Middleware for validating basic JSON-RPC requests

Project description

Swamauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_middleware_jsonrpc


Swarmauri Middleware JsonRpc

Middleware that performs simple validation of JSON-RPC requests.

Usage

from fastapi import FastAPI
from swarmauri_middleware_jsonrpc import JsonRpcMiddleware

app = FastAPI()
app.middleware("http")(JsonRpcMiddleware().dispatch)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_middleware_jsonrpc-0.8.0.dev3.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file swarmauri_middleware_jsonrpc-0.8.0.dev3.tar.gz.

File metadata

File hashes

Hashes for swarmauri_middleware_jsonrpc-0.8.0.dev3.tar.gz
Algorithm Hash digest
SHA256 c1621b8a223e15e667f4c694ebd921c781c3cee40400ff6973ce65f1f1612bdb
MD5 8fd5c8752a5a0fb852d42d62f7819e6e
BLAKE2b-256 efdc25a98d2aebe426aca69980861fba2d53fa5a9476d5ca4a57386d06db162e

See more details on using hashes here.

File details

Details for the file swarmauri_middleware_jsonrpc-0.8.0.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_middleware_jsonrpc-0.8.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 0307b7e4755f7abca61d9952a4e721773ef3a8203f73f86ba7453b9194e7acfb
MD5 89f1ab40d0f29b96bc8d9dda51224c6d
BLAKE2b-256 02df30c0ee348298700a471f51628e3637d317cd63ca86e17782691931dbb51f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page