readBeforeSerialization
A hook called before the input message is marshalled into a (protocol) transport message.
When: This will ALWAYS be called once per execution, except when a failure occurs earlier in the request pipeline. The duration between invocation of this hook and readAfterSerialization is very close to the amount of time spent marshalling the request.
Error Behavior: If errors are raised by this hook, execution will jump to modifyBeforeCompletion with the raised error as the ResponseInterceptorContext.response result.