Skip to content

Commit

Permalink
httpsServer
Browse files Browse the repository at this point in the history
  • Loading branch information
patriknw committed Oct 2, 2023
1 parent 6bb858e commit 5ccbc21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion management/src/test/java/akka/management/CodeExamples.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void start() {
//#start-akka-management-with-https-context
AkkaManagement management = AkkaManagement.get(system);

HttpsConnectionContext https = ConnectionContext.https(sslContext);
HttpsConnectionContext https = ConnectionContext.httpsServer(sslContext);
management.start(settings -> settings.withHttpsConnectionContext(https));
//#start-akka-management-with-https-context
}
Expand Down

0 comments on commit 5ccbc21

Please sign in to comment.