aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener/Primitives
diff options
context:
space:
mode:
Diffstat (limited to 'SocketHttpListener/Primitives')
-rw-r--r--SocketHttpListener/Primitives/ITextEncoding.cs5
1 files changed, 5 insertions, 0 deletions
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;
+ }
}
}