Oberon || Library || Module Index || Search Engine || Definition || Module
TYPE HeaderSet = POINTER TO HeaderSetRec; TYPE HeaderSetRec = RECORD (Disciplines.ObjectRec) END;
PROCEDURE CreateSet(VAR headerSet: HeaderSet); PROCEDURE Add(headerSet: HeaderSet; name: Streams.Stream; value: Streams.Stream; begin, end: Streams.Count); PROCEDURE Get(headerSet: HeaderSet; name: ARRAY OF CHAR; VAR value: Streams.Stream);
CreateSet creates a new set for HTTP-headers.
Add adds another header (name and value) to the set. If the specified name is already in the set value will be combined with the existing value (separated by a comma). begin and end determine the taken interval of value (including begin, but excluding end).
Get provides the field-value to a field-name. value will be NIL if there is no such name.
Oberon || Library || Module Index || Search Engine || Definition || Module