/// <exclude />
 public static T GetMethodInputHeader <T>(Marshaller <T> marshaller, ServerCallContext context)
 {
     return(CompatibilityTools.DeserializeMethodInputHeader(marshaller, context.RequestHeaders));
 }
Пример #2
0
        public static T DeserializeMethodInput <T>(IMarshallerFactory marshallerFactory, Metadata?requestHeaders)
        {
            var message = CompatibilityTools.DeserializeMethodInputHeader(marshallerFactory.CreateMarshaller <Message <T> >(), requestHeaders);

            return(message.Value1);
        }