C# Class Aurora.Addon.HyperGrid.HGFriendsServerPostHandler

Inheritance: Aurora.Framework.Servers.HttpServer.BaseRequestHandler
显示文件 Open project: RevolutionSmythe/Aurora-HG-Plugin

Public Methods

Method Description
HGFriendsServerPostHandler ( IFriendsService service, IUserAgentService uservice ) : System
Handle ( string path, Stream requestData, Aurora.Framework.Servers.HttpServer.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]

Private Methods

Method Description
DeleteFriendship ( object>.Dictionary request ) : byte[]
DocToBytes ( XmlDocument doc ) : byte[]
FailureResult ( ) : byte[]
FailureResult ( string msg ) : byte[]
GetFriendPerms ( object>.Dictionary request ) : byte[]
NewFriendship ( object>.Dictionary request ) : byte[]
SuccessResult ( ) : byte[]
SuccessResult ( string value ) : byte[]
VerifyServiceKey ( object>.Dictionary request ) : bool

Method Details

HGFriendsServerPostHandler() public method

public HGFriendsServerPostHandler ( IFriendsService service, IUserAgentService uservice ) : System
service IFriendsService
uservice IUserAgentService
return System

Handle() public method

public Handle ( string path, Stream requestData, Aurora.Framework.Servers.HttpServer.OSHttpRequest httpRequest, Aurora.Framework.Servers.HttpServer.OSHttpResponse httpResponse ) : byte[]
path string
requestData Stream
httpRequest Aurora.Framework.Servers.HttpServer.OSHttpRequest
httpResponse Aurora.Framework.Servers.HttpServer.OSHttpResponse
return byte[]