Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberFormExtension


SetMethod

Sets the method for a form request.

void SetMethod (in char* method);
method
A pointer to a buffer that contains the method name.
DISCUSSION
This method sets the method the HTTP server should use to process the form. Cyberdog HTTP items support the two most common methods defined by the HTML 2.0 specification, GET and POST.

If you subclass CyberFormExtension, you must override this method. Your override must not call its inherited method; that is, your override method must implement this method's functionality completely.

SEE ALSO
The SetBody method (page 223).
The SetContentType method (page 224).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996