I do something like Encrypted Messaging
,but I want to sign response in res/req header;
I find GlobalResponseFilters
but it this method response.dto is a class ,not a string(or byte[], stream) send to client,
request.GetRawBody() is ok and is there any method I can catch response string(or byte[], stream) ? thanks
Encrypted Messaging signs and encrypts Requests / Responses, only signing Responses is not a feature available or supported in ServiceStack.
I don’t want to use Encrypted Messaging
,or it can say not all route want to be Encrypted ,
I can use request.GetRawBody() check client, but there no something like resp.GetRawBody() for server side Sign