public Task <IServiceRemotingResponseMessage> HandleRequestResponseAsync(IServiceRemotingRequestContext requestContext, IServiceRemotingRequestMessage requestMessage)
        {
            // Information from Headers can be extracted here from request.
            ThreadCultureInfo.AddCultureInfoToCallContext(requestMessage);
            var response = this.innerHandler.HandleRequestResponseAsync(requestContext, requestMessage);

            return(response);
        }
 public Task <IServiceRemotingResponseMessage> RequestResponseAsync(IServiceRemotingRequestMessage requestMessage)
 {
     // Add context data.
     ThreadCultureInfo.AddCultureInfoToHeader(requestMessage, Thread.CurrentThread.CurrentCulture.Name);
     return(this.InnerClient.RequestResponseAsync(requestMessage));
 }