예제 #1
0
 public void SetAsMethod(int idx, string value)
 {
     table[idx] = new HPackItem()
     {
         target   = HPackTarget.Method,
         strValue = value
     };
 }
예제 #2
0
 public void SetAsHeader(int idx, string key, string value = null)
 {
     table[idx] = new HPackItem()
     {
         target   = HPackTarget.Header,
         key      = key,
         strValue = value
     };
 }