CodeQL library for Go
codeql/go-all 2.1.3 (changelog, source)
Search

Module Http

Provides classes for modeling HTTP-related APIs.

Import path

import semmle.go.concepts.HTTP

Classes

ClientRequest

A call that performs a request to a URL.

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.

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.