Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 5f51ec8

Browse files
authored
fix example typos
1 parent 33c0528 commit 5f51ec8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ endif()
9494
Using http_client in your code:<br />
9595
```c++
9696
// sampel.cpp
97-
#include <slicksocket/http_cliet.h>
97+
#include <slicksocket/http_client.h>
9898
#include <iostream>
9999
100100
using namespace slick::net;
@@ -105,7 +105,7 @@ int main(int argc, char* argv[]) {
105105
// GET request
106106
107107
// Synchronous request
108-
auto rsp = client->request("GET", /products");
108+
auto rsp = client.request("GET", "/products");
109109
if (rsp.status != 200) {
110110
std::cerr << "Failed to get products";
111111
return 1;

0 commit comments

Comments
 (0)