Init an HTTP combiner with default values. The marshaling format dictates how the response will be marshaled, including the Content-type header.
(c *genericCombiner[T], marshalingFormat api.MarshallingFormat)
| 57 | |
| 58 | // Init an HTTP combiner with default values. The marshaling format dictates how the response will be marshaled, including the Content-type header. |
| 59 | func initHTTPCombiner[T TResponse](c *genericCombiner[T], marshalingFormat api.MarshallingFormat) { |
| 60 | c.httpStatusCode = 200 |
| 61 | c.httpMarshalingFormat = marshalingFormat |
| 62 | } |
| 63 | |
| 64 | // AddResponse is used to add a http response to the combiner. |
| 65 | func (c *genericCombiner[T]) AddResponse(r PipelineResponse) error { |
no outgoing calls