aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/IStreamHandler.cs
blob: 8858c99d00f81765d92444f3de40c9fec846b297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace OpenSim.Framework.Servers
{
    public interface IStreamHandler
    {
        // Handle request stream, return byte array
        byte[] Handle(string path, Stream request );
        
        // Return response content type
        string ContentType { get; }
        
        // Return required http method
        string HttpMethod { get;}

        // Return path
        string Path { get; }
    }
}