Fix for the deflate frame
parent
df1ff81483
commit
b33b5e63ba
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,52 @@
|
||||
#region License
|
||||
/*
|
||||
* CompressionMethod.cs
|
||||
*
|
||||
* The MIT License
|
||||
*
|
||||
* Copyright (c) 2013 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
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#endregion
|
||||
|
||||
using System;
|
||||
|
||||
namespace WebSocketSharp {
|
||||
|
||||
/// <summary>
|
||||
/// Contains the values of the compression methods used to compress the payload data of the WebSocket Data frame.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The <b>CompressionMethod</b> enumeration contains the values of the compression methods defined in
|
||||
/// <see href="http://tools.ietf.org/html/draft-tyoshino-hybi-permessage-compression-00">WebSocket Per-message Compression</see>
|
||||
/// specification for a WebSocket extension.
|
||||
/// </remarks>
|
||||
public enum CompressionMethod : byte
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates non compression.
|
||||
/// </summary>
|
||||
NONE,
|
||||
/// <summary>
|
||||
/// Indicates using DEFLATE.
|
||||
/// </summary>
|
||||
DEFLATE
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,258 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>WebSocketSharp.CompressionMethod</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<style>
|
||||
a { text-decoration: none }
|
||||
|
||||
div.SideBar {
|
||||
padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
right: 0;
|
||||
float: right;
|
||||
border: thin solid black;
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.CollectionTitle { font-weight: bold }
|
||||
.PageTitle { font-size: 150%; font-weight: bold }
|
||||
|
||||
.Summary { }
|
||||
.Signature { }
|
||||
.Remarks { }
|
||||
.Members { }
|
||||
.Copyright { }
|
||||
|
||||
.Section { font-size: 125%; font-weight: bold }
|
||||
p.Summary {
|
||||
margin-left: 1em;
|
||||
}
|
||||
.SectionBox { margin-left: 2em }
|
||||
.NamespaceName { font-size: 105%; font-weight: bold }
|
||||
.NamespaceSumary { }
|
||||
.MemberName { font-size: 115%; font-weight: bold; margin-top: 1em }
|
||||
.Subsection { font-size: 105%; font-weight: bold }
|
||||
.SubsectionBox { margin-left: 2em; margin-bottom: 1em }
|
||||
|
||||
.CodeExampleTable { background-color: #f5f5dd; border: thin solid black; padding: .25em; }
|
||||
|
||||
.TypesListing {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
}
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.TypesListing td {
|
||||
margin: 0px;
|
||||
padding: .25em;
|
||||
border: solid gray 1px;
|
||||
}
|
||||
|
||||
.TypesListing th {
|
||||
margin: 0px;
|
||||
padding: .25em;
|
||||
background-color: #f2f2f2;
|
||||
border: solid gray 1px;
|
||||
}
|
||||
|
||||
div.Footer {
|
||||
border-top: 1px solid gray;
|
||||
margin-top: 1.5em;
|
||||
padding-top: 0.6em;
|
||||
text-align: center;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
span.NotEntered /* Documentation for this section has not yet been entered */ {
|
||||
font-style: italic;
|
||||
color: red;
|
||||
}
|
||||
|
||||
div.Header {
|
||||
background: #B0C4DE;
|
||||
border: double;
|
||||
border-color: white;
|
||||
border-width: 7px;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
div.Header * {
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
div.Note {
|
||||
}
|
||||
|
||||
i.ParamRef {
|
||||
}
|
||||
|
||||
i.subtitle {
|
||||
}
|
||||
|
||||
ul.TypeMembersIndex {
|
||||
text-align: left;
|
||||
background: #F8F8F8;
|
||||
}
|
||||
|
||||
ul.TypeMembersIndex li {
|
||||
display: inline;
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
table.HeaderTable {
|
||||
}
|
||||
|
||||
table.SignatureTable {
|
||||
}
|
||||
|
||||
table.Documentation, table.Enumeration, table.TypeDocumentation {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.Documentation tr th, table.TypeMembers tr th, table.Enumeration tr th, table.TypeDocumentation tr th {
|
||||
background: whitesmoke;
|
||||
padding: 0.8em;
|
||||
border: 1px solid gray;
|
||||
text-align: left;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
table.Documentation tr td, table.TypeMembers tr td, table.Enumeration tr td, table.TypeDocumentation tr td {
|
||||
padding: 0.5em;
|
||||
border: 1px solid gray;
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
table.TypeMembers {
|
||||
border: 1px solid #C0C0C0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.TypeMembers tr td {
|
||||
background: #F8F8F8;
|
||||
border: white;
|
||||
}
|
||||
|
||||
table.Documentation {
|
||||
}
|
||||
|
||||
table.TypeMembers {
|
||||
}
|
||||
|
||||
div.CodeExample {
|
||||
width: 100%;
|
||||
border: 1px solid #DDDDDD;
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
|
||||
div.CodeExample p {
|
||||
margin: 0.5em;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
}
|
||||
|
||||
div.CodeExample div {
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
div.Signature {
|
||||
border: 1px solid #C0C0C0;
|
||||
background: #F2F2F2;
|
||||
padding: 1em;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
function toggle_display (block) {
|
||||
var w = document.getElementById (block);
|
||||
var t = document.getElementById (block + ":toggle");
|
||||
if (w.style.display == "none") {
|
||||
w.style.display = "block";
|
||||
t.innerHTML = "⊟";
|
||||
} else {
|
||||
w.style.display = "none";
|
||||
t.innerHTML = "⊞";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="CollectionTitle">
|
||||
<a href="../index.html">websocket-sharp</a> : <a href="index.html">WebSocketSharp Namespace</a></div>
|
||||
<div class="SideBar">
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.CompressionMethod">Overview</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.CompressionMethod:Signature">Signature</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.CompressionMethod:Docs">Remarks</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#Members">Members</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.CompressionMethod:Members">Member Details</a>
|
||||
</p>
|
||||
</div>
|
||||
<h1 class="PageTitle" id="T:WebSocketSharp.CompressionMethod">CompressionMethod Enum</h1>
|
||||
<p class="Summary" id="T:WebSocketSharp.CompressionMethod:Summary">
|
||||
Contains the values of the compression methods used to compress the payload data of the WebSocket Data frame.
|
||||
</p>
|
||||
<div id="T:WebSocketSharp.CompressionMethod:Signature">
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public enum <b>CompressionMethod</b></div>
|
||||
</div>
|
||||
<div class="Remarks" id="T:WebSocketSharp.CompressionMethod:Docs">
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.CompressionMethod:Docs:Remarks">
|
||||
The CompressionMethod enumeration contains the values of the compression methods defined in
|
||||
WebSocket Per-message Compression
|
||||
specification for a WebSocket extension.
|
||||
</div>
|
||||
<h2 class="Section">Members</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.CompressionMethod:Docs:Members">
|
||||
<table class="Enumeration">
|
||||
<tr>
|
||||
<th>Member Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td id="F:WebSocketSharp.CompressionMethod.DEFLATE">
|
||||
<b>DEFLATE</b>
|
||||
</td>
|
||||
<td>
|
||||
Indicates using DEFLATE.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td id="F:WebSocketSharp.CompressionMethod.NONE">
|
||||
<b>NONE</b>
|
||||
</td>
|
||||
<td>
|
||||
Indicates non compression.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.CompressionMethod:Docs:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
</div>
|
||||
<div class="Members" id="T:WebSocketSharp.CompressionMethod:Members">
|
||||
</div>
|
||||
<hr size="1" />
|
||||
<div class="Copyright">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,48 @@
|
||||
<Type Name="CompressionMethod" FullName="WebSocketSharp.CompressionMethod">
|
||||
<TypeSignature Language="C#" Value="public enum CompressionMethod" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed CompressionMethod extends System.Enum" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>websocket-sharp</AssemblyName>
|
||||
</AssemblyInfo>
|
||||
<Base>
|
||||
<BaseTypeName>System.Enum</BaseTypeName>
|
||||
</Base>
|
||||
<Docs>
|
||||
<summary>
|
||||
Contains the values of the compression methods used to compress the payload data of the WebSocket Data frame.
|
||||
</summary>
|
||||
<remarks>
|
||||
The <b>CompressionMethod</b> enumeration contains the values of the compression methods defined in
|
||||
<see href="http://tools.ietf.org/html/draft-tyoshino-hybi-permessage-compression-00">WebSocket Per-message Compression</see>
|
||||
specification for a WebSocket extension.
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="DEFLATE">
|
||||
<MemberSignature Language="C#" Value="DEFLATE" />
|
||||
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype WebSocketSharp.CompressionMethod DEFLATE = unsigned int8(1)" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>WebSocketSharp.CompressionMethod</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Indicates using DEFLATE.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="NONE">
|
||||
<MemberSignature Language="C#" Value="NONE" />
|
||||
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype WebSocketSharp.CompressionMethod NONE = unsigned int8(0)" />
|
||||
<MemberType>Field</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>WebSocketSharp.CompressionMethod</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Indicates non compression.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
||||
Binary file not shown.
Loading…
Reference in New Issue