FastLED 3.9.15
Loading...
Searching...
No Matches

◆ defaultPort()

fl::u16 fl::url::defaultPort ( ) const
inlineprivate

Definition at line 110 of file url.h.

110 {
111 fl::string_view s = scheme();
112 if (s == "https" || s == "wss")
113 return 443;
114 if (s == "http" || s == "ws")
115 return 80;
116 if (s == "ftp")
117 return 21;
118 return 0;
119 }
fl::string_view scheme() const FL_NOEXCEPT
Definition url.h:44

References FL_NOEXCEPT, and scheme().

Referenced by port().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: