intercept

abstract fun intercept(message: MessageType): Result<MessageType>

Observe Input/Output message

Message is Request/Response currently being transported

Return

Result.success if Client would like to proceed this message to be sent in case of observation sending message. If not, Client's implementation must return Result.failure

In other words it's a way to implement simple filter for messages which are about to be sent