RequestLineEventArgs.cs 616 B

1234567891011121314151617181920212223242526
  1. using OpenMetaverse;
  2. using System;
  3. namespace OSHttpServer.Parser
  4. {
  5. /// <summary>
  6. /// Used when the request line have been successfully parsed.
  7. /// </summary>
  8. public class RequestLineEventArgs : EventArgs
  9. {
  10. /// <summary>
  11. /// http method.
  12. /// </summary>
  13. public osUTF8Slice HttpMethod;
  14. /// <summary>
  15. /// version of the HTTP protocol that the client want to use.
  16. /// </summary>
  17. public osUTF8Slice HttpVersion;
  18. /// <summary>
  19. /// requested URI path.
  20. /// </summary>
  21. public osUTF8Slice UriPath;
  22. }
  23. }