mirror of
https://github.com/opensim/opensim.git
synced 2026-07-07 21:25:47 +08:00
replace external httpserver by embedded one (based on same code) - This may still be very bad; clean solution and runprebuild, or clone to clan folder
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
|
||||
namespace OSHttpServer.Parser
|
||||
{
|
||||
/// <summary>
|
||||
/// Used when the request line have been successfully parsed.
|
||||
/// </summary>
|
||||
public class RequestLineEventArgs : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="RequestLineEventArgs"/> class.
|
||||
/// </summary>
|
||||
/// <param name="httpMethod">The HTTP method.</param>
|
||||
/// <param name="uriPath">The URI path.</param>
|
||||
/// <param name="httpVersion">The HTTP version.</param>
|
||||
public RequestLineEventArgs(string httpMethod, string uriPath, string httpVersion)
|
||||
{
|
||||
HttpMethod = httpMethod;
|
||||
UriPath = uriPath;
|
||||
HttpVersion = httpVersion;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="RequestLineEventArgs"/> class.
|
||||
/// </summary>
|
||||
public RequestLineEventArgs()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets http method.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Should be one of the methods declared in <see cref="Method"/>.
|
||||
/// </remarks>
|
||||
public string HttpMethod { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the version of the HTTP protocol that the client want to use.
|
||||
/// </summary>
|
||||
public string HttpVersion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets requested URI path.
|
||||
/// </summary>
|
||||
public string UriPath { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user