Logo
Explore Help
Sign In
espressif/esp-protocols
1
0
Fork 1
You've already forked esp-protocols
mirror of https://github.com/espressif/esp-protocols.git synced 2025-07-04 06:06:45 +02:00
Code Issues Packages Projects Releases Wiki Activity
Files
0d1d73eb35a9689e6464ea35d1941d4584ce7aa7
esp-protocols/examples/protocols/asio/ssl_client_server/example_test.py

17 lines
371 B
Python
Raw Normal View History

examples: asio ssl example demonstrating both server and client By default it uses simple client connecting to https address. It is possible to configure both server and client. As for example test the configuration of both server and client connecting to each other on * Original commit: espressif/esp-idf@213bbe51fcde53099b1a6e72381ad8c48afdfcc9
2020-06-05 16:19:10 +02:00
from __future__ import unicode_literals
style: format python files with isort and double-quote-string-fixer * Original commit: espressif/esp-idf@0146f258d7c8bdbc59ba6d40e8798500a30eb4ce
2021-01-26 10:49:01 +08:00
examples: asio ssl example demonstrating both server and client By default it uses simple client connecting to https address. It is possible to configure both server and client. As for example test the configuration of both server and client connecting to each other on * Original commit: espressif/esp-idf@213bbe51fcde53099b1a6e72381ad8c48afdfcc9
2020-06-05 16:19:10 +02:00
import ttfw_idf
@ttfw_idf.idf_example_test(env_tag='Example_GENERIC')
def test_examples_asio_ssl(env, extra_data):
dut = env.get_dut('asio_ssl_client_server', 'examples/protocols/asio/ssl_client_server')
dut.start_app()
dut.expect('Reply: GET / HTTP/1.1')
if __name__ == '__main__':
test_examples_asio_ssl()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 24ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API