/// <exclude /> public static T GetMethodInputHeader <T>(Marshaller <T> marshaller, ServerCallContext context) { return(CompatibilityTools.DeserializeMethodInputHeader(marshaller, context.RequestHeaders)); }
public static T DeserializeMethodInput <T>(IMarshallerFactory marshallerFactory, Metadata?requestHeaders) { var message = CompatibilityTools.DeserializeMethodInputHeader(marshallerFactory.CreateMarshaller <Message <T> >(), requestHeaders); return(message.Value1); }