mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-12 06:01:40 +00:00
parent
ce502a73e1
commit
0a2cb20223
@ -287,7 +287,7 @@ Client Example
|
|||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
// IMPORTANT: 1st parameter must be a hostname or an IP adress string.
|
// IMPORTANT: 1st parameter must be a hostname or an IP address string.
|
||||||
httplib::Client cli("localhost", 1234);
|
httplib::Client cli("localhost", 1234);
|
||||||
|
|
||||||
auto res = cli.Get("/hi");
|
auto res = cli.Get("/hi");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user