Refactored a few for HttpListenerRequest.cs

This commit is contained in:
sta 2015-07-04 22:37:23 +09:00
parent 987a02e594
commit 5728b47189

View File

@ -109,8 +109,9 @@ namespace WebSocketSharp.Net
/// Gets the media types which are acceptable for the response. /// Gets the media types which are acceptable for the response.
/// </summary> /// </summary>
/// <value> /// <value>
/// An array of <see cref="string"/> that contains the media type names in the Accept /// An array of <see cref="string"/> that contains the media type names in
/// request-header, or <see langword="null"/> if the request didn't include an Accept header. /// the Accept request-header, or <see langword="null"/> if the request didn't include
/// the Accept header.
/// </value> /// </value>
public string[] AcceptTypes { public string[] AcceptTypes {
get { get {
@ -135,8 +136,8 @@ namespace WebSocketSharp.Net
/// </summary> /// </summary>
/// <value> /// <value>
/// A <see cref="Encoding"/> that represents the encoding for the entity body data, /// A <see cref="Encoding"/> that represents the encoding for the entity body data,
/// or <see cref="Encoding.Default"/> if the request didn't include the information /// or <see cref="Encoding.Default"/> if the request didn't include the information about
/// about the encoding. /// the encoding.
/// </value> /// </value>
public Encoding ContentEncoding { public Encoding ContentEncoding {
get { get {
@ -145,11 +146,11 @@ namespace WebSocketSharp.Net
} }
/// <summary> /// <summary>
/// Gets the size of the entity body data included in the request. /// Gets the number of bytes in the entity body data included in the request.
/// </summary> /// </summary>
/// <value> /// <value>
/// A <see cref="long"/> that represents the value of the Content-Length entity-header. The /// A <see cref="long"/> that represents the value of the Content-Length entity-header,
/// value is a number of bytes in the entity body data. <c>-1</c> if the size isn't known. /// or <c>-1</c> if the value isn't known.
/// </value> /// </value>
public long ContentLength64 { public long ContentLength64 {
get { get {