1_quick_look.qbk 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [/
  2. Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
  3. Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. Official repository: https://github.com/boostorg/beast
  6. ]
  7. [section:quick_start Quick Look]
  8. [/block'''<?dbhtml stop-chunking?>''']
  9. These complete programs are intended to quickly impress upon readers
  10. the flavor of the library. Source code and build scripts for them are
  11. located in the [path_link example example] directory.
  12. [section:http_client Simple HTTP Client __example__]
  13. Use HTTP to make a GET request to a website and print the response:
  14. File: [path_link example/http/client/sync/http_client_sync.cpp http_sync_client.cpp]
  15. [example_http_client]
  16. [endsect]
  17. [section:websocket_client Simple WebSocket Client __example__]
  18. Establish a WebSocket connection, send a message and receive the reply:
  19. File: [path_link example/websocket/client/sync/websocket_client_sync.cpp websocket_sync_client.cpp]
  20. [example_websocket_client]
  21. [endsect]
  22. [include 1a_bishop_fox.qbk]
  23. [include 1b_autobahn.qbk]
  24. [endsect]