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:
@@ -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/");
|
||||
|
||||
Reference in New Issue
Block a user