// HTTP 协议 private void HTTP(HttpPacket http) { if (http == null) return; List<CommandTypeHead> httplist = http.CreatHeadList(); if (httplist.Count == 0) return; setInfo(httplist); }
private void Http(HttpPacket httpPacket) { if (httpPacket == null) { return; } if (HttpNode == null) { HttpNode = CreatNode("HTTP", 7); } HttpNode.Nodes.Clear(); List <CommandTypeHead> httplist = httpPacket.CreatHeadList(); if (httplist.Count == 0) { return; } //显示数据 setAppTreeNode(httplist, HttpNode); //加入选定模式 }
private void HTTP(HttpPacket http) { if (http == null) { return; } if (HTTPNode == null) { HTTPNode = new TreeNode(); } HTTPNode.Nodes.Clear(); HTTPNode.Text = string.Format("Hypertext Transfer Protocol (HTTP)"); List <CommandTypeHead> httplist = http.CreatHeadList(); if (httplist.Count == 0) { return; } setAppTreeNode(httplist, HTTPNode); }