Enumeration

MaplibreNativeFfiUrlMatchFlag

Declaration

flags MaplibreNativeFfi.UrlMatchFlag

Description [src]

How a URL pattern matches a request’s URL.

A pattern matches the whole URL, query included. Without flags, it matches only the URL that equals it exactly.

See mln_url_match_flag in the C API reference.

Members

MAPLIBRE_NATIVE_FFI_URL_MATCH_GLOB

The URL matches the pattern as a glob. * matches any characters except /, ** matches any characters, and ? matches one character except /. \ makes the next character match only itself. For example, https:// *.example.com/tiles/ ** matches every URL under /tiles/ on each subdomain of example.com.

  • Value: 1
  • Available since: 0