Aller au contenu principal
Version : Suivant

Serveur Web



WEB GET BODY PART ( partie : Integer ; contenuPartie : Blob, Text ; nomPartie : Text ; typeMime : Text ; nomFichier : Text )
WEB Get body part count : Integer
WEB Get current session ID : Text
WEB GET HTTP BODY ( corps : Blob, Text )
WEB GET HTTP HEADER ( entête : Texte, Tableau texte )
WEB GET HTTP HEADER ( tabChamps : Texte, Tableau texte ; tabValeurs : Text array )

WEB GET OPTION ( sélecteur : Integer ; valeur : Integer, Text, Collection )
WEB Get server info ( avecCache : Boolean ) : Object
WEB GET STATISTICS ( pages : Text array ; hits : Integer array ; usage : Integer )
WEB GET VARIABLES ( tabNoms : Text array ; tabValeurs : Text array )
WEB Is secured connection : Boolean
WEB Is server running : Boolean
WEB LEGACY CLOSE SESSION ( idSession : Text )
WEB LEGACY GET SESSION EXPIRATION ( idSession : Text ; dateExp : Date ; heureExp : Time )
WEB SEND BLOB ( blob : Blob ; type : Text )
WEB SEND FILE ( fichierWeb : Text )
WEB SEND HTTP REDIRECT ( url : Text {; *} )
WEB SEND RAW DATA ( données : Blob {; *} )
WEB SEND TEXT ( texteHTML : Text {; type : Text} )
WEB Server : 4D.WebServer
WEB Server( option : Integer ) : 4D.WebServer

WEB Server list : Collection
WEB SET HOME PAGE ( homePage : Text )
WEB SET HTTP HEADER ( entête : Texte, Tableau texte )
WEB SET HTTP HEADER ( tabChamps : Texte, Tableau texte ; tabValeurs : Text array )

WEB SET OPTION ( sélecteur : Integer ; valeur : Integer, Text, Collection )
WEB SET ROOT FOLDER ( dossierRacine : Text )
WEB START SERVER
WEB STOP SERVER
WEB Validate digest ( nomUtilisateur : Text ; motDePasse : Text ) : Boolean