|
|
@ -4,7 +4,7 @@ |
|
|
|
* |
|
|
|
* The MIT License |
|
|
|
* |
|
|
|
* Copyright (c) 2013-2014 sta.blockhead |
|
|
|
* Copyright (c) 2013-2015 sta.blockhead |
|
|
|
* |
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy |
|
|
|
* of this software and associated documentation files (the "Software"), to deal |
|
|
@ -31,22 +31,21 @@ using System; |
|
|
|
namespace WebSocketSharp |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Contains the values of the compression method used to compress the message on the WebSocket
|
|
|
|
/// connection.
|
|
|
|
/// Specifies the compression method used to compress a message on the WebSocket connection.
|
|
|
|
/// </summary>
|
|
|
|
/// <remarks>
|
|
|
|
/// The values of the compression method are defined in
|
|
|
|
/// <see href="http://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-09">Compression
|
|
|
|
/// Extensions for WebSocket</see>.
|
|
|
|
/// The compression methods are defined in
|
|
|
|
/// <see href="http://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-19">
|
|
|
|
/// Compression Extensions for WebSocket</see>.
|
|
|
|
/// </remarks>
|
|
|
|
public enum CompressionMethod : byte |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Indicates non compression.
|
|
|
|
/// Specifies non compression.
|
|
|
|
/// </summary>
|
|
|
|
None, |
|
|
|
/// <summary>
|
|
|
|
/// Indicates using DEFLATE.
|
|
|
|
/// Specifies DEFLATE.
|
|
|
|
/// </summary>
|
|
|
|
Deflate |
|
|
|
} |
|
|
|