public static void AddHeader(this ServiceRemotingMessageHeaders messageHeaders, ServiceRequestHeader header) { messageHeaders.AddHeader(header.HeaderName, header.GetValue()); }
public static string GetString(this ServiceRequestHeader header) { return(Encoding.UTF8.GetString(header.GetValue())); }