Documentation
¶
Overview ¶
Package method defines the Method type and its predefined values.
HTTP method to use when submitting form data. Controls how form data is sent to the server and affects URL visibility, data size limits, and caching behavior.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Get Send form data as URL parameters in query string. Data is visible in URL and browser // history. Limited data size and suitable for non-sensitive search forms. Get = Method("get") // Post Send form data in request body. Data is not visible in URL, supports larger payloads, // and is required for file uploads and sensitive information. Post = Method("post") // Dialog Close containing dialog and submit form data. Special method for forms inside dialog // elements that closes the dialog when submitted. Dialog = Method("dialog") )
Variables for Method values
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.