File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
docs/src/test/scala/docs/http/scaladsl
http-core/src/main/scala/org/apache/pekko/http/impl/util Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ object Http2ClientApp extends App {
5151
5252 dispatch(
5353 HttpRequest (
54- uri = " https://pekko.apache.org/api/akka /current/akka /actor/typed/scaladsl/index.html" ,
54+ uri = " https://pekko.apache.org/api/pekko /current/org/apache/pekko /actor/typed/scaladsl/index.html" ,
5555 headers = headers.`Accept-Encoding`(HttpEncodings .gzip) :: Nil )).onComplete { res =>
5656 println(s " [1] Got index.html: $res" )
5757 res.get.entity.dataBytes.runWith(Sink .ignore).onComplete(res => println(s " Finished reading [1] $res" ))
@@ -61,13 +61,13 @@ object Http2ClientApp extends App {
6161
6262 dispatch(
6363 HttpRequest (
64- uri = " https://pekko.apache.org/api/akka /current/index.js" ,
64+ uri = " https://pekko.apache.org/api/pekko /current/index.js" ,
6565 headers = /* headers.`Accept-Encoding`(HttpEncodings.gzip) ::*/ Nil )).onComplete { res =>
6666 println(s " [2] Got index.js: $res" )
6767 res.get.entity.dataBytes.runWith(Sink .ignore).onComplete(res => println(s " Finished reading [2] $res" ))
6868 }
6969
70- dispatch(HttpRequest (uri = " https://pekko.apache.org/api/akka /current/lib/MaterialIcons-Regular.woff" ))
70+ dispatch(HttpRequest (uri = " https://pekko.apache.org/api/pekko /current/lib/MaterialIcons-Regular.woff" ))
7171 .flatMap(_.toStrict(1 .second))
7272 .onComplete(res => println(s " [3] Got font: $res" ))
7373
Original file line number Diff line number Diff line change 1010/*
1111 * Copyright (C) 2017-2022 Lightbend Inc. <https://www.lightbend.com>
1212 *
13- * Copied and adapted from pekko-remote
14- * https://github.com/apache/incubator-pekko/blob/c90121485fcfc44a3cee62a0c638e1982d13d812/akka-remote /src/main/scala/akka/remote/artery /StageLogging.scala
13+ * Copied and adapted from pekko-stream
14+ * https://github.com/apache/incubator-pekko/blob/bd1af56fcead435cb3d730e759223dcb2b0fb4c6/stream /src/main/scala/org/apache/pekko/stream/stage /StageLogging.scala
1515 */
1616
1717package org .apache .pekko .http .impl .util
You can’t perform that action at this time.
0 commit comments