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.dev4.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.dev4.tar.gz.

File metadata

File hashes

Hashes for swarmauri_middleware_jsonrpc-0.8.0.dev4.tar.gz
Algorithm Hash digest
SHA256 5213b84c2d9eb5a68fbbc3b16005aa12976c35dd230f4109a2c1ded2ebeab351
MD5 360fc41bd856d0fe0dfc974c10db0a7f
BLAKE2b-256 8b2063ecdef35110ea1f96872c6f1da913397ea33dbba424351e11c6c277d01a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_middleware_jsonrpc-0.8.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 81219f68025fd1c74a7003459c9bd0563e215f621d110f43bd46ab63b0776e7d
MD5 8a3294ba6d3c78ad98171cefb8bde9a6
BLAKE2b-256 a4911a558e55e9f0f86b6918031adab8c448790769edd8d329ea9489f2dd76d2

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