aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/IStreamHandler.cs
blob: bc76e9c6293aeb4f5ecdde4d2a7cd94b65bcfc5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;}
    }
}