Skip to content

Commit a68b7c8

Browse files
Merge pull request #2961 from francescovallone/docs/add-all-available-tcp-transporter-options
docs(microservices): add to the table all available tcp options
2 parents 54f190a + 28d7308 commit a68b7c8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

content/microservices/basics.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,22 @@ The second argument of the `createMicroservice()` method is an `options` object.
8585
<td><code>retryDelay</code></td>
8686
<td>Delay between message retry attempts (ms) (default: <code>0</code>)</td>
8787
</tr>
88+
<tr>
89+
<td><code>serializer</code></td>
90+
<td>Custom <a href="https://github.com/nestjs/nest/blob/master/packages/microservices/interfaces/serializer.interface.ts" target="_blank">serializer</a> for outcoming messages</td>
91+
</tr>
92+
<tr>
93+
<td><code>deserializer</code></td>
94+
<td>Custom <a href="https://github.com/nestjs/nest/blob/master/packages/microservices/interfaces/deserializer.interface.ts" target="_blank">deserializer</a> for incoming messages</td>
95+
</tr>
96+
<tr>
97+
<td><code>socketClass</code></td>
98+
<td>A custom Socket that extends <code>TcpSocket</code> (default: <code>JsonSocket</code>)</td>
99+
</tr>
100+
<tr>
101+
<td><code>tlsOptions</code></td>
102+
<td>Options to configure the tls protocol</td>
103+
</tr>
88104
</table>
89105

90106
#### Patterns

0 commit comments

Comments
 (0)