Skip to content

Commit 823402c

Browse files
authored
Update docs/getting-started.asciidoc
1 parent d857380 commit 823402c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/getting-started.asciidoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,12 @@ You can get documents by using the following code:
9090

9191
[source,net]
9292
----
93+
var response = await client.GetAsync<MyDoc>(id, idx => idx.Index("my_index"));
9394
95+
if (response.IsValidResponse)
96+
{
97+
var doc = response.Source;
98+
}
9499
----
95100

96101

0 commit comments

Comments
 (0)