mirror of
https://github.com/square/okhttp.git
synced 2026-01-17 08:42:25 +03:00
Merge pull request #1883 from marenzo/patch-1
api has changed, fixing the example
This commit is contained in:
@@ -42,7 +42,7 @@ public void test() throws Exception {
|
||||
server.start();
|
||||
|
||||
// Ask the server for its URL. You'll need this to make HTTP requests.
|
||||
URL baseUrl = server.url("/v1/chat/");
|
||||
HttpUrl baseUrl = server.url("/v1/chat/");
|
||||
|
||||
// Exercise your application code, which should make those HTTP requests.
|
||||
// Responses are returned in the same order that they are enqueued.
|
||||
|
||||
Reference in New Issue
Block a user