Function mockito::server_url
source · pub fn server_url() -> String
👎Deprecated since 0.32.0: Use
Server::url
insteadExpand description
DEPRECATED: This method is part of the legacy interface an will be removed
in future versions. You should replace it with Server::url
:
let mut s = mockito::Server::new();
let server_url = s.url();
The local http://...
URL of the server.