From 8f18ff44234e038c6728f9798faf970df3244fad Mon Sep 17 00:00:00 2001 From: Andrew Stanton-Nurse Date: Fri, 19 May 2017 15:06:46 -0700 Subject: [PATCH] react to corefxlabs changes (#464) (#465) --- .../Internal/Formatters/MessageFormatUtils.cs | 4 ++-- .../Internal/Formatters/ServerSentEventsMessageFormatter.cs | 5 +++-- .../Internal/Formatters/TextMessageFormatter.cs | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/MessageFormatUtils.cs b/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/MessageFormatUtils.cs index a217680fe3..df070f8621 100644 --- a/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/MessageFormatUtils.cs +++ b/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/MessageFormatUtils.cs @@ -1,8 +1,8 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using System.Binary; +using System.Binary.Base64; namespace Microsoft.AspNetCore.Sockets.Internal.Formatters { diff --git a/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/ServerSentEventsMessageFormatter.cs b/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/ServerSentEventsMessageFormatter.cs index 0312813735..f3c3e8f757 100644 --- a/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/ServerSentEventsMessageFormatter.cs +++ b/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/ServerSentEventsMessageFormatter.cs @@ -1,8 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Binary; +using System.Binary.Base64; using System.Buffers; using System.Text; using System.Text.Formatting; @@ -160,4 +161,4 @@ namespace Microsoft.AspNetCore.Sockets.Internal.Formatters } } } -} \ No newline at end of file +} diff --git a/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/TextMessageFormatter.cs b/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/TextMessageFormatter.cs index a6287ff80f..a9c6da8b81 100644 --- a/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/TextMessageFormatter.cs +++ b/src/Microsoft.AspNetCore.Sockets.Common/Internal/Formatters/TextMessageFormatter.cs @@ -1,8 +1,9 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Binary; +using System.Binary.Base64; using System.Buffers; using System.Text; using System.Text.Formatting;