receive
Receives content for this request according to typeInfo.
This function returns null only when TypeInfo.isNullable is true. The caller is responsible for ensuring that typeInfo represents the same type as T.
Return
an instance of T received from this call.
Parameters
typeInfo
instance specifying the type to be received.
Throws
when content cannot be transformed to the requested type.