You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`EmptyBodyEncoder`|`EncoderInterface<null>`| Creates empty request body |
33
32
|`BinaryFileDecoder`|`DecoderInterface<BinaryFile>`| Parses file information from the HTTP response and returns a `BinaryFile` DTO |
34
-
|`FormUrlencodedEncoder`|`EncoderInterface<?array>`| Adds form urlencoded body and headers to request |
33
+
|`ContentTypeAwareEncoder`|`EncoderInterface<ContentTypeAwarePayload<T>>`| Decorator that wraps any encoder and sets the Content-Type header from the payload |
34
+
|`EmptyBodyEncoder`|`EncoderInterface<null>`| Creates empty request body |
35
35
|`FormUrlencodedDecoder`|`DecoderInterface<array>`| Converts form urlencoded response body to array |
36
-
|`JsonEncoder`|`EncoderInterface<?array>`| Adds json body and headers to request|
36
+
|`FormUrlencodedEncoder`|`EncoderInterface<?array>`| Adds form urlencoded body and headers to request |
37
37
|`JsonDecoder`|`DecoderInterface<array>`| Converts json response body to array |
38
+
|`JsonEncoder`|`EncoderInterface<?array>`| Adds json body and headers to request |
38
39
|`MultiPartEncoder`|`EncoderInterface<AbstractMultipartPart>`| Adds symfony/mime `AbstractMultipartPart`as HTTP body. Handy for form data + files. |
39
-
|`StreamEncoder`|`EncoderInterface<StreamInterface>`| Adds PSR-7 Stream as request body |
40
-
|`StreamDecoder`|`DecoderInterface<StreamInterface>`| Returns the PSR-7 Stream as response result |
41
-
|`RawEncoder`|`EncoderInterface<string>`| Adds raw string as request body |
42
40
|`RawDecoder`|`DecoderInterface<string>`| Returns the raw PSR-7 body string as response result |
43
-
|`ResourceStreamEncoder`|`EncoderInterface<ResourceStream>`| Adds `phpro/resource-stream`as request body |
41
+
|`RawEncoder`|`EncoderInterface<string>`| Adds raw string as request body|
44
42
|`ResourceStreamDecoder`|`DecoderInterface<ResourceStream>`| Returns `phpro/resource-stream` from response body |
43
+
|`ResourceStreamEncoder`|`EncoderInterface<ResourceStream>`| Adds `phpro/resource-stream` as request body |
45
44
|`ResponseDecoder`|`DecoderInterface<ResponseInterface>`| Returns the received PSR-7 response as result |
45
+
|`StreamDecoder`|`DecoderInterface<StreamInterface>`| Returns the PSR-7 Stream as response result |
46
+
|`StreamEncoder`|`EncoderInterface<StreamInterface>`| Adds PSR-7 Stream as request body |
0 commit comments