method= ( str -- ? ) (original) (raw)

method= ( str -- ? )

Vocabulary
http.server

Inputs

str a string

Outputs

? a boolean

Word description
Outputs if the current request matches the expected method.

Definition

USING: accessors http kernel namespaces ;

IN: http.server

: method= ( str -- ? ) request get method>> = ;