From 48facb797ed912e4ea6b04b17d1ff190ac2daac4 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 12 Sep 2018 19:26:21 +0200 Subject: Update to 3.5.2 and .net core 2.1 --- SocketHttpListener/Primitives/ITextEncoding.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'SocketHttpListener/Primitives/ITextEncoding.cs') diff --git a/SocketHttpListener/Primitives/ITextEncoding.cs b/SocketHttpListener/Primitives/ITextEncoding.cs index 2c25a308c..a256a077d 100644 --- a/SocketHttpListener/Primitives/ITextEncoding.cs +++ b/SocketHttpListener/Primitives/ITextEncoding.cs @@ -12,5 +12,10 @@ namespace SocketHttpListener.Primitives { return Encoding.UTF8; } + + public static Encoding GetDefaultEncoding() + { + return Encoding.UTF8; + } } } -- cgit v1.2.3