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

File metadata

File hashes

Hashes for swarmauri_middleware_jsonrpc-0.8.0.dev2.tar.gz
Algorithm Hash digest
SHA256 d1f400c760df1260e96fc7f4d24fcd73a87644efe5ccfbcd1ffb6f90ce291e92
MD5 ad92692cfa068c1105a22d154a6db89c
BLAKE2b-256 0748a4cfcd079e43fa043503157ddd5484ed071eab4267bc14ac740d91c2c441

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_middleware_jsonrpc-0.8.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 298ba82765338ff837317c3cf80c17586c4bc41b04e7f5fdc63c5d14b3a838a5
MD5 0574d1a840a3496dc4d49c6460a87c9a
BLAKE2b-256 720624272d2afa72d0d1422dc652806bb8ccd1a091b7d8e82ce9f18e52067c88

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