urls vocabulary
Factor handbook > Vocabulary index


Documentation
URL objects

Meta-data
Tags:web, network
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
malformed-port tuple
url tupleprotocol username password host port path query anchor


Parsing words
WordSyntax
URL"URL" url..."


Generic words
WordStack effect
>url( obj -- url )


Ordinary words
WordStack effect
<url>( -- url )
derive-url( base url -- url' )
ensure-port( url -- url' )
malformed-port( -- * )
parse-host( string -- host/f port/f )
query-param( url key -- value )
relative-url( url -- url' )
relative-url?( url -- ? )
secure-protocol?( protocol -- ? )
set-or-delete( val key query -- )
set-query-param( url value key -- url )
set-url-addr( url addr -- url )
url-addr( url -- addr )
url-append-path( path1 path2 -- path )


Class predicate words
WordStack effect
malformed-port?( object -- ? )
url?( object -- ? )


Files


Children from resource:basis
VocabularySummary
urls.encodingURL and form encoding/decoding
urls.prettyprinturls.prettyprint vocabulary


Children
VocabularySummary
urls.privateurls.private vocabulary