Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for urlToJson (0.13 sec)

  1. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

        return httpClient.newWebSocket(new Request.Builder()
            .url(url)
            .build(), listener);
      }
    
      static final class SlackJsonAdapters {
        @ToJson String urlToJson(HttpUrl httpUrl) {
          return httpUrl.toString();
        }
    
        @FromJson HttpUrl urlFromJson(String urlString) {
          if (urlString.startsWith("wss:")) urlString = "https:" + urlString.substring(4);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
Back to top