Discuss this help topic in SecureBlackbox Forum

TSBHTTPMethod

Declared in     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Defines possible HTTP methods as defined in RFC #2616.

Declaration

[C#]
    public enum TSBHTTPMethod { hmGet = 0, hmPost = 1, hmHead = 2, hmOptions = 3, hmDelete = 4, hmTrace = 5, hmPut = 6, hmConnect = 7, hmCustom = 8 };

[VB.NET]
    Enum TSBHTTPMethod
        hmGet = 0
        hmPost = 1
        hmHead = 2
        hmOptions = 3
        hmDelete = 4
        hmTrace = 5
        hmPut = 6
        hmConnect = 7
        hmCustom = 8
    End Enum

[Pascal]
    TSBHTTPMethod = (hmGet, hmPost, hmHead, hmOptions, hmDelete, hmTrace, hmPut, hmConnect, hmCustom);

[C++]
    typedef uint8_t TSBHTTPMethodRaw;
    typedef enum { hmGet = 0, hmPost = 1, hmHead = 2, hmOptions = 3, hmDelete = 4, hmTrace = 5, hmPut = 6, hmConnect = 7, hmCustom = 8 } TSBHTTPMethod;

[PHP]
    class TSBHTTPMethod extends TSBBaseEnum {
        const hmGet = 0;
        const hmPost = 1;
        const hmHead = 2;
        const hmOptions = 3;
        const hmDelete = 4;
        const hmTrace = 5;
        const hmPut = 6;
        const hmConnect = 7;
        const hmCustom = 8;
    }

[Java]
    public enum TSBHTTPMethod { hmGet, hmPost, hmHead, hmOptions, hmDelete, hmTrace, hmPut, hmConnect, hmCustom }

Possible values

Declared in

.NET:
  • Namespace: SBHTTPSCommon
  • Assembly: SecureBlackbox.HTTPCommon
VCL:
  • Unit: SBHTTPSCommon
Java:
  • Package: SecureBlackbox.HTTPCommon.jar
C++:
  • sbhttpscommon.h

Discuss this help topic in SecureBlackbox Forum