Updates outgoing requests with a serialized body. Args: headers: dict, request headers path_params: dict, parameters that appear in the request path query_params: dict, parameters that appear in the query body_value: object, the request body as a Pyth
(self, headers, path_params, query_params, body_value)
| 60 | """ |
| 61 | |
| 62 | def request(self, headers, path_params, query_params, body_value): |
| 63 | """Updates outgoing requests with a serialized body. |
| 64 | |
| 65 | Args: |
| 66 | headers: dict, request headers |
| 67 | path_params: dict, parameters that appear in the request path |
| 68 | query_params: dict, parameters that appear in the query |
| 69 | body_value: object, the request body as a Python object, which must be |
| 70 | serializable. |
| 71 | Returns: |
| 72 | A tuple of (headers, path_params, query, body) |
| 73 | |
| 74 | headers: dict, request headers |
| 75 | path_params: dict, parameters that appear in the request path |
| 76 | query: string, query part of the request URI |
| 77 | body: string, the body serialized in the desired wire format. |
| 78 | """ |
| 79 | _abstract() |
| 80 | |
| 81 | def response(self, resp, content): |
| 82 | """Convert the response wire format into a Python object. |
no test coverage detected