using System; namespace OSHttpServer.Parser { /// /// Used when the request line have been successfully parsed. /// public class RequestLineEventArgs : EventArgs { /// /// Initializes a new instance of the class. /// /// The HTTP method. /// The URI path. /// The HTTP version. public RequestLineEventArgs(string httpMethod, string uriPath, string httpVersion) { HttpMethod = httpMethod; UriPath = uriPath; HttpVersion = httpVersion; } /// /// Initializes a new instance of the class. /// public RequestLineEventArgs() { } /// /// Gets or sets http method. /// /// /// Should be one of the methods declared in . /// public string HttpMethod { get; set; } /// /// Gets or sets the version of the HTTP protocol that the client want to use. /// public string HttpVersion { get; set; } /// /// Gets or sets requested URI path. /// public string UriPath { get; set; } } }