Skip to content

Commit 1265de6

Browse files
committed
Mention server backend in the README
1 parent c95f6e9 commit 1265de6

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

play-java-grpc-example/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ This is an example application that shows how to use Pekko gRPC to both expose a
66

77
For detailed documentation refer to https://www.playframework.com/documentation/latest/Home and https://pekko.apache.org/docs/pekko-grpc/current/.
88

9+
## Server backend
10+
11+
By default, the project uses the Akka HTTP Server backend. To switch to the Netty Server backend, enable the `PlayNettyServer` sbt plugin in the `build.sbt` file.
12+
In the `build.sbt` of this project, you'll find a commented line for this setting; simply uncomment it to make the switch.
13+
For more detailed information, refer to the Play Framework [documentation](https://www.playframework.com/documentation/3.0.x/Server).
914

1015
## Sample license
1116

play-scala-grpc-example/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ This is an example application that shows how to use Pekko gRPC to both expose a
66

77
For detailed documentation refer to https://www.playframework.com/documentation/latest/Home and https://pekko.apache.org/docs/pekko-grpc/current/.
88

9+
## Server backend
10+
11+
By default, the project uses the Akka HTTP Server backend. To switch to the Netty Server backend, enable the `PlayNettyServer` sbt plugin in the `build.sbt` file.
12+
In the `build.sbt` of this project, you'll find a commented line for this setting; simply uncomment it to make the switch.
13+
For more detailed information, refer to the Play Framework [documentation](https://www.playframework.com/documentation/3.0.x/Server).
914

1015
## Sample license
1116

play-scala-tls-example/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ You must have JDK 11 installed on your machine to run this, to take advantage of
88

99
* [Adoptium OpenJDK](https://adoptium.net/)
1010

11+
## Server backend
12+
13+
By default, the project uses the Akka HTTP Server backend. To switch to the Netty Server backend, enable the `PlayNettyServer` sbt plugin in the `build.sbt` file.
14+
In the `build.sbt` of this project, you'll find a commented line for this setting; simply uncomment it to make the switch.
15+
For more detailed information, refer to the Play Framework [documentation](https://www.playframework.com/documentation/3.0.x/Server).
16+
1117
## Generate Certificates
1218

1319
To use HTTPS, you must have X.509 certificates. Generating certificates can be painful, so all the scripts needed to generate the certificates needed are included in the `scripts` directory. For more detail, you can see the [Certificate Generation](https://www.playframework.com/documentation/latest/CertificateGeneration) section in Play WS SSL.

0 commit comments

Comments
 (0)