Ignore:
Timestamp:
Aug 1, 2022, 12:54:31 PM (2 years ago)
Author:
alloc
Message:

Switched to use SpaceWizards.HttpListener

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements2/MapRendering/Web/API/GetPlayerInventory.cs

    r369 r382  
    33using AllocsFixes.JSON;
    44using AllocsFixes.PersistentData;
     5using HttpListenerRequest = SpaceWizards.HttpListener.HttpListenerRequest;
     6using HttpListenerResponse = SpaceWizards.HttpListener.HttpListenerResponse;
    57
    68namespace AllocsFixes.NetConnections.Servers.Web.API {
    79        public class GetPlayerInventory : WebAPI {
    8                 public override void HandleRequest (HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _user,
    9                         int _permissionLevel) {
     10                public override void HandleRequest (HttpListenerRequest _req, HttpListenerResponse _resp,
     11                        WebConnection _user, int _permissionLevel) {
    1012                        if (_req.QueryString ["userid"] == null) {
    1113                                _resp.StatusCode = (int) HttpStatusCode.BadRequest;
Note: See TracChangeset for help on using the changeset viewer.