[Modify] Polish it
This commit is contained in:
parent
ea831f0dd8
commit
02ec346c30
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* The MIT License
|
* The MIT License
|
||||||
*
|
*
|
||||||
* Copyright (c) 2012-2014 sta.blockhead
|
* Copyright (c) 2012-2015 sta.blockhead
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
@ -32,20 +32,19 @@ using WebSocketSharp.Net;
|
|||||||
namespace WebSocketSharp.Server
|
namespace WebSocketSharp.Server
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains the event data associated with an HTTP request event that
|
/// Represents the event data for the HTTP request event that the <see cref="HttpServer"/> emits.
|
||||||
/// the <see cref="HttpServer"/> emits.
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// An HTTP request event occurs when the <see cref="HttpServer"/> receives an HTTP request.
|
/// An HTTP request event occurs when the <see cref="HttpServer"/> receives an HTTP request.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// If you would like to get the request data, you should access
|
/// If you would like to get the request data sent from a client,
|
||||||
/// the <see cref="HttpRequestEventArgs.Request"/> property.
|
/// you should access the <see cref="Request"/> property.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// And if you would like to get the data used to return a response, you should access
|
/// And if you would like to get the response data used to return a response,
|
||||||
/// the <see cref="HttpRequestEventArgs.Response"/> property.
|
/// you should access the <see cref="Response"/> property.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public class HttpRequestEventArgs : EventArgs
|
public class HttpRequestEventArgs : EventArgs
|
||||||
@ -70,11 +69,10 @@ namespace WebSocketSharp.Server
|
|||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the <see cref="HttpListenerRequest"/> that represents the HTTP request sent from
|
/// Gets the HTTP request data sent from a client.
|
||||||
/// a client.
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>
|
/// <value>
|
||||||
/// A <see cref="HttpListenerRequest"/> that represents the request.
|
/// A <see cref="HttpListenerRequest"/> that represents the request data.
|
||||||
/// </value>
|
/// </value>
|
||||||
public HttpListenerRequest Request {
|
public HttpListenerRequest Request {
|
||||||
get {
|
get {
|
||||||
@ -83,10 +81,10 @@ namespace WebSocketSharp.Server
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the <see cref="HttpListenerResponse"/> used to return an HTTP response to the client.
|
/// Gets the HTTP response data used to return a response to the client.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>
|
/// <value>
|
||||||
/// A <see cref="HttpListenerResponse"/> used to return a response.
|
/// A <see cref="HttpListenerResponse"/> that represents the response data.
|
||||||
/// </value>
|
/// </value>
|
||||||
public HttpListenerResponse Response {
|
public HttpListenerResponse Response {
|
||||||
get {
|
get {
|
||||||
|
Loading…
Reference in New Issue
Block a user