Пример #1
0
 public IPooledBuffer Handle(ITransportConnectionCloseHeader header, Nothing _)
 {
     using (var headerProto = Header.Rent())
         using (var closeProto = ConnectionCloseHeader.Rent())
         {
             headerProto.Close = MergeToProto(closeProto, header);
             return(headerProto.Serialize());
         }
 }