responseBodyConverter

open override fun responseBodyConverter(type: Type, annotations: Array<out Annotation>, retrofit: Retrofit): Converter<ResponseBody, *>?(source)

Returns the GraphQLResponseConverter used to decode response bodies through the factory's GraphQLTransportCodec.

ResponseBody return types yield null from this factory so the built-in Retrofit converter passes the raw body through, letting callers inspect raw responses without decoding.

Parameters

type

The response type declared on the Retrofit method.

annotations

All annotations applied to the requesting method.

retrofit

The Retrofit instance the converter is registered on.