Method
handle_request
(
self,
request: httpx.Request,
)
Source from the content-addressed store, hash-verified
| 69 | |
| 70 | @override |
| 71 | def handle_request( |
| 72 | self, |
| 73 | request: httpx.Request, |
| 74 | ) -> httpx.Response: |
| 75 | assert not inspect.iscoroutinefunction(self.handler), "handler must not be a coroutine function" |
| 76 | assert inspect.isfunction(self.handler), "handler must be a function" |
| 77 | return self.handler(request) |
| 78 | |
| 79 | @override |
| 80 | async def handle_async_request( |
Callers
nothing calls this directly
Tested by
no test coverage detected