MCPcopy Create free account
hub / github.com/aws/smithy-go / Boolean

Method Boolean

encoding/httpbinding/header.go:77–79  ·  view source on GitHub ↗

Boolean encodes the value v as a query string value

(v bool)

Source from the content-addressed store, hash-verified

75
76// Boolean encodes the value v as a query string value
77func (h HeaderValue) Boolean(v bool) {
78 h.modifyHeader(strconv.FormatBool(v))
79}
80
81// Float encodes the value v as a query string value
82func (h HeaderValue) Float(v float32) {

Callers

nothing calls this directly

Calls 1

modifyHeaderMethod · 0.95

Tested by

no test coverage detected