Submit the HTTP request with the running session or a new session. Returns: A dictionary of the response data.
(self, *, http_verb, api_url, req_args)
| 189 | return SlackResponse(**{**data, **res}).validate() |
| 190 | |
| 191 | async def _request(self, *, http_verb, api_url, req_args) -> Dict[str, any]: |
| 192 | """Submit the HTTP request with the running session or a new session. |
| 193 | Returns: |
| 194 | A dictionary of the response data. |
| 195 | """ |
| 196 | return await _request_with_session( |
| 197 | current_session=self.session, |
| 198 | timeout=self.timeout, |
| 199 | logger=self._logger, |
| 200 | http_verb=http_verb, |
| 201 | api_url=api_url, |
| 202 | req_args=req_args, |
| 203 | ) |
| 204 | |
| 205 | # ================================================================= |
| 206 | # urllib based WebClient |
no test coverage detected