diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/IStreamHandler.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/IStreamHandler.cs b/OpenSim/Framework/Servers/IStreamHandler.cs index 88ae641..bc76e9c 100644 --- a/OpenSim/Framework/Servers/IStreamHandler.cs +++ b/OpenSim/Framework/Servers/IStreamHandler.cs | |||
@@ -7,6 +7,13 @@ namespace OpenSim.Framework.Servers | |||
7 | { | 7 | { |
8 | public interface IStreamHandler | 8 | public interface IStreamHandler |
9 | { | 9 | { |
10 | void Handle(string path, Stream request, Stream response); | 10 | // Handle request stream, return byte array |
11 | byte[] Handle(string path, Stream request ); | ||
12 | |||
13 | // Return response content type | ||
14 | string ContentType { get; } | ||
15 | |||
16 | // Return required http method | ||
17 | string HttpMethod { get;} | ||
11 | } | 18 | } |
12 | } | 19 | } |