API Reference

type Http_Server , procedure Get , procedure Head , procedure Post , procedure Put , procedure Delete , procedure Open

 
   Http_Version : constant String := "HTTP/1.0"; 
 
   type Http_Server is new Server with private; 
 
   procedure Get (Host        : in     Http_Server; 
                  Address     : in     ASCL.ARPA.HTTP.URI; 
                  Page        :    out Message; 
                  Return_Code :    out Integer); 
 
   procedure Head (Host        : in     Http_Server; 
                   Address     : in     ASCL.ARPA.HTTP.URI; 
                   Page        :    out Message; 
                   Return_Code :    out Integer); 
 
   procedure Post (Host        : in     Http_Server; 
                   Address     : in     ASCL.ARPA.HTTP.URI; 
                   Data        : in     Message; 
                   Page        :    out Message; 
                   Return_Code :    out Integer); 
 
   procedure Put (Host        : in     Http_Server; 
                  Address     : in     ASCL.ARPA.HTTP.URI; 
                  Data        : in     Message; 
                  Page        :    out Message; 
                  Return_Code :    out Integer); 
 
   procedure Delete (Host        : in     Http_Server; 
                     Address     : in     ASCL.ARPA.HTTP.URI; 
                     Data        : in     Message; 
                     Page        :    out Message; 
                     Return_Code :    out Integer); 
 
   procedure Open (The_Server : in out HTTP_Server; 
                   Host_Name  : in     Unbounded_String);