~ubuntu-branches/ubuntu/trusty/smuxi/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/ServiceStack/src/ServiceStack.Interfaces/ServiceHost/EndpointAttributes.cs

  • Committer: Package Import Robot
  • Author(s): Mirco Bauer
  • Date: 2013-05-25 22:11:31 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130525221131-nd2mc0kzubuwyx20
Tags: 0.8.11-1
* [22d13d5] Imported Upstream version 0.8.11
* [6d2b95a] Refreshed patches
* [89eb66e] Added ServiceStack libraries to smuxi-engine package
* [848ab10] Enable Campfire engine
* [c6dbdc7] Always build db4o for predictable build result
* [13ec489] Exclude OS X specific libraries from dh_clideps

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using System;
 
2
 
 
3
namespace ServiceStack.ServiceHost
 
4
{
 
5
        [Flags]
 
6
        public enum EndpointAttributes
 
7
        {
 
8
                None = 0,
 
9
 
 
10
                All = AllNetworkAccessTypes | AllSecurityModes | AllHttpMethods | AllCallStyles | AllEndpointTypes,
 
11
                AllNetworkAccessTypes = External | Localhost | LocalSubnet,
 
12
                AllSecurityModes = Secure | InSecure,
 
13
                AllHttpMethods = HttpHead | HttpGet | HttpPost | HttpPut | HttpDelete,
 
14
                AllCallStyles = AsyncOneWay | SyncReply,
 
15
                AllEndpointTypes = Soap11 | Soap12 | Xml | Json | Jsv | ProtoBuf | Csv,
 
16
                
 
17
                InternalNetworkAccess = Localhost | LocalSubnet,
 
18
 
 
19
                //Whether it came from an Internal or External address
 
20
                Localhost = 1 << 0,
 
21
                LocalSubnet = 1 << 1,
 
22
                External = 1 << 2,
 
23
 
 
24
                //Called over a secure or insecure channel
 
25
                Secure = 1 << 3,
 
26
                InSecure = 1 << 4,
 
27
 
 
28
                //HTTP request type
 
29
                HttpHead = 1 << 5,
 
30
                HttpGet = 1 << 6,
 
31
                HttpPost = 1 << 7,
 
32
                HttpPut = 1 << 8,
 
33
                HttpDelete = 1 << 9,
 
34
                HttpPatch = 1 << 10,
 
35
                //Future 11,12
 
36
 
 
37
                //Call Styles
 
38
                AsyncOneWay = 1 << 13,
 
39
                SyncReply = 1 << 14,
 
40
 
 
41
                //Different endpoints
 
42
                Soap11 = 1 << 15,
 
43
                Soap12 = 1 << 16,
 
44
                //POX
 
45
                Xml = 1 << 17,
 
46
                //Javascript
 
47
                Json = 1 << 18,
 
48
                //Jsv i.e. TypeSerializer
 
49
                Jsv = 1 << 19,
 
50
                //e.g. protobuf-net
 
51
                ProtoBuf = 1 << 20,
 
52
                //e.g. text/csv
 
53
                Csv = 1 << 21,
 
54
 
 
55
                Html = 1 << 22,
 
56
                Yaml = 1 << 23,
 
57
        }
 
58
 
 
59
}
 
 
b'\\ No newline at end of file'