Method
handle_request
(
self,
request: httpx2.Request,
)
Source from the content-addressed store, hash-verified
| 81 | |
| 82 | @override |
| 83 | def handle_request( |
| 84 | self, |
| 85 | request: httpx2.Request, |
| 86 | ) -> httpx2.Response: |
| 87 | assert not inspect.iscoroutinefunction(self.handler), "handler must not be a coroutine function" |
| 88 | assert inspect.isfunction(self.handler), "handler must be a function" |
| 89 | return self.handler(request) |
| 90 | |
| 91 | @override |
| 92 | async def handle_async_request( |
Callers
nothing calls this directly
Tested by
no test coverage detected