1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-17 08:42:25 +03:00

Merge pull request #1737 from mgp/patch-1

Use method start instead of play in example
This commit is contained in:
Jake Wharton
2015-06-29 18:03:46 -04:00

View File

@@ -39,7 +39,7 @@ public void test() throws Exception {
server.enqueue(new MockResponse().setBody("yo dog"));
// Start the server.
server.play();
server.start();
// Ask the server for its URL. You'll need this to make HTTP requests.
URL baseUrl = server.getUrl("/v1/chat/");