Directories and Files

This section discusses the modules available for μC/HTTP-client, and how they all fit together. A Windows®-based development platform is assumed. The directories and files make references to typical Windows-type directory structures. However, since μC/HTTP-client is available in source form, it can also be used with any ANSI-C compatible compiler/linker and Operating System.

Below is a summary of all directories and files involved in the µC/HTTP-client module. The ‘<-Cfg’ on the far right indicates that these files are typically copied into the application (i.e., project) directory and edited based on project requirements.

 

\Micrium
    \Software
        \uC-HTTP
			\Client
				\Add-on
 				\Cfg
                	\Template
                    	http-c_cfg.c              <-Cfg
                    	http-c_cfg.h              <-Cfg
  				\Examples
                    http-c_app.c
                    http-c_app.h
                    http-c_hooks.c           
                    http-c_hooks.h          
                \Source
	                http-c.c
                	http-c.h
                	http-c_conn.c
                	http-c_conn.h
                	http-c_mem.c
                	http-c_mem.h
					http-c_req.c
					http-c_req.h
					http-c_resp.c
					http-c_resp.h
					http-c_sock.c
					http-c_sock.h
					http-c_task.c
					http-c_task.h
					http-c_type
					http-c_websock.c
					http-c_websock.h
            \Common
                http.c
                http.h
				http-dict.c
				http-dict.h

Client

The "Client" directory inside µC/HTTP contains all files relative to the µC/HTTP-client product.

Add-on

This directory includes additional modules for the µC/HTTP-client stack.

Configuration

The "Cfg" directory includes template configuration files that can be copied to the application directory and modified according to the application needs.

Examples

This directory contains example codes to help you get started with the µC/HTTP-client product.

Source Code

This is the directory that contains all the CPU and RTOS independent source code files for µC/HTTP-client.

http-c.c/h contains the API function declarations and definitions.

Common

The "Common" directory contains files that are common to both the HTTP Client and Server.