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