-
百行代码实现的WEB服务器
百行代码实现的WEB服务器
aardio开发环境
服务器响应后各种处理步骤:
第一步,通过获取到的 请求响应request对象的url属性,分解出url中的path。
第二步,将path传去路由函数,为了获取 目标路径、目标文件类型、错误标记、错误页面 等结果。
第三步,依据路由函数返回的结果。
回复对象的contentType属性设置为路由函数返回的目标文件类型。
回复对象的传送数据:错真就传错误页面,错假就传目标文件的二进制数据 。
回复对象的其他属性按simpleHttpServer内置默认的。
- 2022-05-27 22:20:36下载
- 积分:1
-
此例子是学习C++的好东西,希望你们会喜欢1
此例子是学习C++的好东西,希望你们会喜欢1-This example is the study and C++ Good things, and I hope you
- 2023-08-25 05:05:03下载
- 积分:1
-
很好用的学校门户网站,可以修改为企业的网站。用户名密码都在压缩包里。...
很好用的学校门户网站,可以修改为企业的网站。用户名密码都在压缩包里。-Schools with a good web portal, you can modify the site for the enterprise. User name Password bag in the compression.
- 2022-04-23 13:49:55下载
- 积分:1
-
avi 到 mpeg 的转换程序及源代码
avi 到 mpeg 的转换程序及源代码-mpeg to the conversion process and the source code
- 2022-05-27 09:12:21下载
- 积分:1
-
good source, we hope to learn download. A good source, we hope to learn the down...
很好的原代码,希望大家下载学习. 很好的原代码,希望大家下载学习.-good source, we hope to learn download. A good source, we hope to learn the download. a good source, we hope to learn download.
- 2022-07-17 06:11:16下载
- 积分:1
-
CE5.0下矩阵式触摸板驱动,规格24*32;内部使用定时器及端口中断,平台是AT91...
CE5.0下矩阵式触摸板驱动,规格24*32;内部使用定时器及端口中断,平台是AT91-Matrix under CE5.0 touchpad driver, specifications 24* 32 the internal use of timer and interrupt port, platform is the AT91
- 2022-08-06 16:17:13下载
- 积分:1
-
用C语言编写的1001个例子程序,含许多设计技巧,使读者能快速掌握C语言的各种编程技巧...
用C语言编写的1001个例子程序,含许多设计技巧,使读者能快速掌握C语言的各种编程技巧-C language prepared by the 1001 example of procedures, including many design skills so that the reader can quickly grasp the C programming language skills
- 2022-10-13 21:40:02下载
- 积分:1
-
C++的关键知识点的希望大家喜欢。包括数组…
C++的重要知识点,希望大家喜欢.包括数组、指针-C++ Critical knowledge points in the hope that everyone likes. Including an array, pointer
- 2023-07-24 15:55:03下载
- 积分:1
-
关于USB驱动的一些源代码,对写USB驱动的人有一定帮助
关于USB驱动的一些源代码,对写USB驱动的人有一定帮助-On the USB drive some of the source code, to write USB drive to help people have a certain
- 2022-01-21 17:36:20下载
- 积分:1
-
在VB中两个窗体如何来调用!!!这里提供了一个方法
在VB中两个窗体如何来调用!!!这里提供了一个方法-in VB two forms how to call! ! ! It provides a method!
- 2022-03-12 06:22:28下载
- 积分:1