(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn)
| 216 | } |
| 217 | |
| 218 | func (c *Client) PostOtherWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { |
| 219 | req, err := NewPostOtherRequestWithBody(c.Server, contentType, body) |
| 220 | if err != nil { |
| 221 | return nil, err |
| 222 | } |
| 223 | req = req.WithContext(ctx) |
| 224 | if err := c.applyEditors(ctx, req, reqEditors); err != nil { |
| 225 | return nil, err |
| 226 | } |
| 227 | return c.Client.Do(req) |
| 228 | } |
| 229 | |
| 230 | func (c *Client) GetOther(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { |
| 231 | req, err := NewGetOtherRequest(c.Server) |
nothing calls this directly
no test coverage detected