def wire.exchange.method

emerging-ezhttp@0.21.0.0 · src/wirespec.bend:89

import emerging-ezhttp@0.21.0.0/src/wirespec.bend as Wirespec
import Base

89# the method an exchange is sent and read by, none when nothing is sent
90def wire.exchange.method(ex: Exchange) -> Maybe<&2, String>:
91  match ex:
92    case NoUrl{why}:
93      None{}
94    case Exchange{secure, host, port, method, req}:
95      Some{method}

Uses (3)

Used by (0)

No other definition uses this definition.