mirror of
https://github.com/Azure/DotNetty.git
synced 2026-10-19 06:31:20 +08:00
18 lines
657 B
C#
18 lines
657 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
namespace DotNetty.Codecs.Http.Tests.WebSockets
|
|
{
|
|
using System;
|
|
using DotNetty.Codecs.Http.WebSockets;
|
|
using DotNetty.Common.Utilities;
|
|
|
|
public class WebSocketClientHandshaker00Test : WebSocketClientHandshakerTest
|
|
{
|
|
protected override WebSocketClientHandshaker NewHandshaker(Uri uri) =>
|
|
new WebSocketClientHandshaker00(uri, WebSocketVersion.V00, null, null, 1024);
|
|
|
|
protected override AsciiString GetOriginHeaderName() => HttpHeaderNames.Origin;
|
|
}
|
|
}
|