binary

inline fun <T : Any, R : HttpMessage> R.binary(t: T): R(source)

Convenience function to write the object as Fory to the message body and set the content type.


inline fun <T : Any> HttpMessage.binary(): T(source)

Convenience function to read an object as Fory from the message body.