File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ You can configure how your services are generated via the [Gradle plugin][gradle
11
11
12
12
``` groovy
13
13
wire {
14
- kotlin { // Kotlin target will generate code for services.
14
+ // Kotlin target will generate code for services.
15
+ kotlin {
15
16
// `client` to generate interfaces best suited to sending outbound calls.
16
17
// `server` to generate interfaces best suited to receiving inbound calls.
17
18
rpcRole = 'server'
@@ -137,12 +138,14 @@ interface RouteGuideServer : Service {
137
138
The server can use Kotlin coroutines' suspend and Channels mechanisms to execute suspending network
138
139
calls.
139
140
140
- ### Sample
141
+ Sample
142
+ ------
141
143
142
144
Check out our [ sample project] [ sampleProject ] demonstrating bidirectional communication between an
143
145
Android application and a server.
144
146
145
- ### Get it
147
+ Get it
148
+ ------
146
149
147
150
Use Wire runtime Gradle coordinates:
148
151
``` groovy
You can’t perform that action at this time.
0 commit comments