Skip to content

HTTPRequest

Brian Becker edited this page Mar 11, 2020 · 1 revision

HTTP Request Object

Work In Progress

    :Field Public Instance Complete←0        ⍝ do we have a complete request?
    :Field Public Instance Input←''
    :Field Public Instance Headers←0 2⍴⊂''   ⍝ HTTPRequest header fields (plus any supplied from HTTPTrailer event)
    :Field Public Instance Method←''         ⍝ HTTP method (GET, POST, PUT, etc)
    :Field Public Instance Endpoint←''       ⍝ Requested URI
    :Field Public Instance Body←''           ⍝ body of the request
    :Field Public Instance Payload←''        ⍝ parsed (if JSON or XML) payload
    :Field Public Instance PeerAddr←'unknown'⍝ client IP address
    :Field Public Instance PeerCert←0 0⍴⊂''  ⍝ client certificate
    :Field Public Instance HTTPVersion←''
    :Field Public Instance ErrorInfoLevel←2
    :Field Public Instance Response
    :Field Public Instance Server
    :Field Public Instance Session←⍬
    :Field Public Instance QueryParams←0 2⍴0
    :Field Public Instance UserID←''
    :Field Public Instance Password←''
Clone this wiki locally