Lines Matching +full:enable +full:- +full:sample
1 .. zephyr:code-sample:: sockets-http-client
3 :relevant-api: bsd_sockets http_client tls_credentials secure_sockets_options
10 This sample application implements an HTTP(S) client that will do an HTTP
13 The source code for this sample application can be found at:
19 - :ref:`networking_with_host`
27 Build the http-client sample application like this:
29 .. zephyr-app-commands::
30 :zephyr-app: samples/net/sockets/http_client
39 Enable TLS support in the sample by building the project with the
40 ``overlay-tls.conf`` overlay file enabled using these commands:
42 .. zephyr-app-commands::
43 :zephyr-app: samples/net/sockets/http_client
45 :conf: "prj.conf overlay-tls.conf"
49 An alternative way is to specify ``-DEXTRA_CONF_FILE=overlay-tls.conf`` when
52 The certificate and private key used by the sample can be found in the sample's
54 The default certificates used by Socket HTTP Client and ``https-server.py``
55 program found in the `net-tools`_ project, enable establishing a secure
59 Running http-server in Linux Host
62 You can run this ``http-client`` sample application in QEMU
63 and run the ``http-server.py`` (from net-tools) on a Linux host.
69 .. code-block:: console
71 $ ./http-server.py
73 Run ``http-client`` application in QEMU:
75 .. zephyr-app-commands::
76 :zephyr-app: samples/net/sockets/http_client
77 :host-os: unix
83 Note that ``http-server.py`` must be running in the Linux host terminal window
84 before you start the http-client application in QEMU.
88 ``https-server.py`` program in net-tools project.
90 .. _`net-tools`: https://github.com/zephyrproject-rtos/net-tools