本文整理汇总了C#中IronWASP.Request.GetHeadersAsStringWithoutFullURL方法的典型用法代码示例。如果您正苦于以下问题:C# Request.GetHeadersAsStringWithoutFullURL方法的具体用法?C# Request.GetHeadersAsStringWithoutFullURL怎么用?C# Request.GetHeadersAsStringWithoutFullURL使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IronWASP.Request
的用法示例。
在下文中一共展示了Request.GetHeadersAsStringWithoutFullURL方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FillConfigureScanFullFields
internal static void FillConfigureScanFullFields(Request Request)
{
UI.ConfigureScanRequestSSLCB.Checked = Request.SSL;
UI.ASRequestRawHeadersIDV.Text = Request.GetHeadersAsStringWithoutFullURL();// .GetHeadersAsString();
UI.ASRequestRawHeadersIDV.ReadOnly = false;
if (Request.HasBody)
{
if (Request.IsBinary)
{
UI.ASRequestRawBodyIDV.Text = Encoding.UTF8.GetString(Request.BodyArray);
UI.ASRequestRawBodyIDV.ReadOnly = true;
}
else
{
UI.ASRequestRawBodyIDV.Text = Request.BodyString;
UI.ASRequestRawBodyIDV.ReadOnly = false;
}
}
else
{
UI.ASRequestRawBodyIDV.Text = "";
UI.ASRequestRawBodyIDV.ReadOnly = false;
}
}
示例2: FillMTRequestHeaderFields
internal static void FillMTRequestHeaderFields(Request Request)
{
UI.MTRequestHeadersIDV.Text = Request.GetHeadersAsStringWithoutFullURL();
UI.MTIsSSLCB.Checked = Request.SSL;
}
示例3: FillProxyRequestHeaderFields
internal static void FillProxyRequestHeaderFields(Request Request)
{
UI.ProxyRequestHeadersIDV.Text = Request.GetHeadersAsStringWithoutFullURL();
}
示例4: SetHeader
void SetHeader(Request Req)
{
if (this.BaseTabs.InvokeRequired)
{
SetHeader_d InvokeDelegate_d = new SetHeader_d(SetHeader);
this.BaseTabs.Invoke(InvokeDelegate_d, new object[] { Req });
}
else
{
this.HeadersTBP.SetText(Req.GetHeadersAsStringWithoutFullURL());
this.UseSSLCB.Checked = Req.SSL;
this.ResetHeadersChangedStatus();
this.ResetSslChangedStatus();
}
}