public WebAPI_StreamHandler(WebAPIHandler webapi, WebAPIHttpMethod method)
     : base(method.ToString(), httpPath)
 {
     WebAPI = webapi;
 }
 public WebAPIMethod(WebAPIHttpMethod HttpMethod, bool passOnRequestingAgentID, WebAPIThreatLevel threat)
 {
     m_httpMethod = HttpMethod;
     m_passOnRequestingAgentID = passOnRequestingAgentID;
     m_threatLevel = threat;
 }
示例#3
0
 public WebAPIMethod(WebAPIHttpMethod HttpMethod, bool passOnRequestingAgentID)
 {
     m_httpMethod = HttpMethod;
     m_passOnRequestingAgentID = passOnRequestingAgentID;
 }
        /*
        public WebAPIMethod(WebAPIHttpMethod HttpMethod)
        {
            m_httpMethod = HttpMethod;
        }

        public WebAPIMethod(WebAPIHttpMethod HttpMethod, bool passOnRequestingAgentID)
        {
            m_httpMethod = HttpMethod;
            m_passOnRequestingAgentID = passOnRequestingAgentID;
        }
        */
        public WebAPIMethod(WebAPIHttpMethod HttpMethod, WebAPIThreatLevel threat)
        {
            m_httpMethod = HttpMethod;
            m_threatLevel = threat;
        }
示例#5
0
 public WebAPIMethod(WebAPIHttpMethod HttpMethod)
 {
     m_httpMethod = HttpMethod;
     m_passOnRequestingAgentID = false;
 }