mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
some more cosmetics on oshttpserver
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using OpenMetaverse;
|
||||
using System;
|
||||
|
||||
namespace OSHttpServer.Parser
|
||||
{
|
||||
@@ -8,41 +9,18 @@ namespace OSHttpServer.Parser
|
||||
public class RequestLineEventArgs : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="RequestLineEventArgs"/> class.
|
||||
/// http method.
|
||||
/// </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;
|
||||
}
|
||||
public osUTF8Slice HttpMethod;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="RequestLineEventArgs"/> class.
|
||||
/// version of the HTTP protocol that the client want to use.
|
||||
/// </summary>
|
||||
public RequestLineEventArgs()
|
||||
{
|
||||
}
|
||||
public osUTF8Slice HttpVersion;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets http method.
|
||||
/// requested URI path.
|
||||
/// </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; }
|
||||
public osUTF8Slice UriPath;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user