2 // System.Runtime.Remoting.Channels.CommonTransportKeys.cs
4 // Author: Rodrigo Moya (rodrigo@ximian.com)
5 // Lluis Sanchez Gual (lsg@ctv.es)
7 // 2002 (C) Copyright, Ximian, Inc.
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 namespace System
.Runtime
.Remoting
.Channels
33 public class CommonTransportKeys
35 public const string ConnectionId
= "__ConnectionId";
36 public const string IPAddress
= "__IPAddress";
37 public const string RequestUri
= "__RequestUri";
39 internal const string RequestVerb
= "__RequestVerb";
40 internal const string HttpVersion
= "__HttpVersion";
41 internal const string ContentType
= "Content-Type";
42 internal const string UserAgent
= "User-Agent";
43 internal const string Host
= "Host";
44 internal const string SoapAction
= "SOAPAction";
46 internal const string HttpStatusCode
= "__HttpStatusCode";
47 internal const string HttpReasonPhrase
= "__HttpReasonPhrase";
49 public CommonTransportKeys ()