spotless/origin
Types
pub type Origin {
Origin(
scheme: http.Scheme,
host: String,
port: option.Option(Int),
)
}
Constructors
-
Origin( scheme: http.Scheme, host: String, port: option.Option(Int), )
Values
pub fn from_string(uri: String) -> Result(Origin, Nil)