moonbit-community/rabbita/url does not have a README file

    Protocol

    pub(all) enum Protocol {
    Http
    Https
    Other(String)
    } derive(Compare, Eq,
    Debug
    )

    impl Show for Protocol

    Protocol::compare

    fn Protocol::compare(Protocol, Protocol) -> Int

    Protocol::equal

    fn Protocol::equal(Protocol, Protocol) -> Bool

    Protocol::not_equal

    fn Protocol::not_equal(x : Protocol, y : Protocol) -> Bool

    Protocol::op_ge

    fn Protocol::op_ge(x : Protocol, y : Protocol) -> Bool

    Protocol::op_gt

    fn Protocol::op_gt(x : Protocol, y : Protocol) -> Bool

    Protocol::op_le

    fn Protocol::op_le(x : Protocol, y : Protocol) -> Bool

    Protocol::op_lt

    fn Protocol::op_lt(x : Protocol, y : Protocol) -> Bool

    Protocol::output

    fn Protocol::output(self : Protocol, buf : &Logger) -> Unit

    Protocol::to_repr

    Protocol::to_string

    fn Protocol::to_string(self : Protocol) -> String

    Url

    pub(all) struct Url {
    protocol : Protocol
    host : String
    port : Int?
    path : String
    query : String?
    fragment : String?
    } derive(Compare, Eq,
    Debug
    )

    Url

    https://example.com:8042/over/there?name=ferret#nose \___/ \______________/\_________/ \_________/ \__/ | | | | | scheme authority path query fragment

    This diagram is from https://package.elm-lang.org/packages/elm/url/latest/Url
    impl Show for Url

    Url::compare

    fn Url::compare(Url, Url) -> Int

    Url::equal

    fn Url::equal(Url, Url) -> Bool

    Url::not_equal

    fn Url::not_equal(x : Url, y : Url) -> Bool

    Url::op_ge

    fn Url::op_ge(x : Url, y : Url) -> Bool

    Url::op_gt

    fn Url::op_gt(x : Url, y : Url) -> Bool

    Url::op_le

    fn Url::op_le(x : Url, y : Url) -> Bool

    Url::op_lt

    fn Url::op_lt(x : Url, y : Url) -> Bool

    Url::output

    fn Url::output(self : Url, buf : &Logger) -> Unit

    Url::to_repr

    Url::to_string

    fn Url::to_string(self : Url) -> String

    UrlRequest

    pub(all) enum UrlRequest {
    Internal(Url)
    External(String)
    } derive(Compare, Eq,
    Debug
    )

    Represent the URL change request from the user, trigger by @html.a tag. The Internal means the target URL is in the same domain. The External means the target URL is in another site.
    impl Show for UrlRequest

    UrlRequest::compare

    fn UrlRequest::compare(UrlRequest, UrlRequest) -> Int

    UrlRequest::equal

    fn UrlRequest::equal(UrlRequest, UrlRequest) -> Bool

    UrlRequest::not_equal

    fn UrlRequest::not_equal(x : UrlRequest, y : UrlRequest) -> Bool

    UrlRequest::op_ge

    fn UrlRequest::op_ge(x : UrlRequest, y : UrlRequest) -> Bool

    UrlRequest::op_gt

    fn UrlRequest::op_gt(x : UrlRequest, y : UrlRequest) -> Bool

    UrlRequest::op_le

    fn UrlRequest::op_le(x : UrlRequest, y : UrlRequest) -> Bool

    UrlRequest::op_lt

    fn UrlRequest::op_lt(x : UrlRequest, y : UrlRequest) -> Bool

    UrlRequest::output

    fn UrlRequest::output(self : UrlRequest, buf : &Logger) -> Unit

    UrlRequest::to_string

    fn UrlRequest::to_string(self : UrlRequest) -> String

    parse

    fn parse(url : String) -> Url raise

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io