webmentions.server.adapters.fastapi module
- webmentions.server.adapters.fastapi.bind_webmentions(app: fastapi.FastAPI, handler: WebmentionsHandler, route: str = '/webmentions')[source]
Bind a FastAPI endpoint to process incoming Webmentions.
- Parameters:
app – The FastAPI application to bind the endpoint to.
handler – The WebmentionsHandler to use for processing incoming Webmentions.
route – The route to bind the endpoint to.