GraphQLResponseConverter

constructor(type: Type, codec: GraphQLTransportCodec)(source)

Parameters

type

The complete Java reflection Type of the response, including generic arguments, as provided by Retrofit.

codec

The explicit GraphQLTransportCodec used to deserialize bodies.

Type Parameters

T

The decoded response type, typically co.anitrend.retrofit.graphql.model.GraphQLResponse of a data type.