Go to the first, previous, next, last section, table of contents.


The Url module

type url = {
    proto : string;
    server : string;
    port : int;
    path : string;
    file : string;
    user : string;
    pass : string
  }

val create  : string -> string -> int -> string ->
  string -> string -> string -> url

create an already parsed url

val url_of_string : string -> url

url_of_string s returns the url corresponding to the given s. this string should start by "http://". raise Invalid_argument if the string is not an url

val string_of_url : url -> string

string_of_url u returns a string representing u. the args are not put in this string


Go to the first, previous, next, last section, table of contents.