community: github.com/documize/community/core/request Index | Files

package request

import "github.com/documize/community/core/request"

Package request provides HTTP request parsing functions.

Package request provides HTTP request parsing functions.

Package request provides HTTP request parsing functions.

Index

Package Files

param.go query.go url.go

func IsSSL Uses

func IsSSL(r *http.Request) bool

IsSSL returns true if Referer header contains "https". If Referer header is empty we look at r.TLS setting.

func Param Uses

func Param(r *http.Request, p string) string

Param returns the requested paramater from route request.

func Params Uses

func Params(r *http.Request) map[string]string

Params returns the paramaters from route request.

func Query Uses

func Query(r *http.Request, key string) string

Query returns query string from HTTP request.

Package request imports 3 packages (graph) and is imported by 21 packages. Updated 2019-04-28. Refresh now. Tools for package owners.