Module Http
Provides classes for modeling HTTP-related APIs.
Import path
import semmle.go.concepts.HTTPClasses
| ClientRequest | A call that performs a request to a URL. |
| CookieOptionWrite | A write to an option of an HTTP cookie object. |
| CookieWrite | A write of an HTTP Cookie to an HTTP response. |
| Header | A data-flow node whose value is written to an HTTP header. |
| HeaderName | A data-flow node whose value is written to the name of an HTTP header. |
| HeaderValue | A data-flow node whose value is written to the value of an HTTP header. |
| HeaderWrite | A data-flow node that represents a write to an HTTP header. |
| Redirect | An HTTP redirect. |
| RequestBody | An expression representing a reader whose content is written to an HTTP request body. |
| RequestHandler | An HTTP request handler. |
| ResponseBody | An expression which is written to an HTTP response body. |
| ResponseWriter | A variable that is an HTTP response writer. |
| TemplateResponseBody | An expression which is written to an HTTP response body via a template execution. |
Modules
| ClientRequest | Provides a class for modeling new HTTP client request APIs. |
| CookieOptionWrite | Provides a class for modeling the new APIs for writes to options of an HTTP cookie. |
| CookieWrite | Provides a class for modeling new HTTP response cookie write APIs. |
| HeaderWrite | Provides a class for modeling new HTTP header-write APIs. |
| Redirect | Provides a class for modeling new HTTP redirect APIs. |
| RequestBody | Provides a class for modeling new HTTP request-body APIs. |
| RequestHandler | Provides a class for modeling new HTTP handler APIs. |
| ResponseBody | Provides a class for modeling new HTTP response-body APIs. |
| ResponseWriter | Provides a class for modeling new HTTP response-writer APIs. |
| TemplateResponseBody | Provides a class for modeling new HTTP template response-body APIs. |