aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/IStreamHandler.cs
blob: 6cab40d06c885a4b0ee354591ad3286a574adc06 (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; }
    }
}