- Timestamp:
 - Sep 4, 2014, 5:45:22 PM (11 years ago)
 - Location:
 - binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Web
 - Files:
 - 
      
- 1 added
 - 2 edited
 
- 
          
  API/GetPlayerInventory.cs (added)
 - 
          
  ApiHandler.cs (modified) (1 diff)
 - 
          
  Web.cs (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Web/ApiHandler.cs
r158 r163 18 18 apis.Add ("getplayersonline", new GetPlayersOnline ()); 19 19 apis.Add ("getplayerslocation", new GetPlayersLocation ()); 20 apis.Add ("getplayerinventory", new GetPlayerInventory ()); 20 21 } 21 22  - 
      
binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Web/Web.cs
r154 r163 120 120 } 121 121 122 public static void SetResponseTextContent (HttpListenerResponse resp, string text) 123 { 124 byte[] buf = Encoding.UTF8.GetBytes (text); 125 resp.ContentLength64 = buf.Length; 126 resp.ContentType = "text/html"; 127 resp.ContentEncoding = Encoding.UTF8; 128 resp.OutputStream.Write (buf, 0, buf.Length); 129 } 130 122 131 } 123 132 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)