http.hrh

来自「简单的socket请求」· HRH 代码 · 共 32 行

HRH
32
字号
/* Copyright (c) 2008, Nokia. All rights reserved */

#ifndef __HTTP_HRH__
#define __HTTP_HRH__

// Http enumerate command codes
enum THttpIds
    {
    EHttpGetCommand = 0x6000,  // ensure they do not coincide with predefined commands
    // add further enumerations here
	EHttpPostCommand,
	ESocketsServerNameEdwin,
	EHttpSetServer,
	EHttpOpenFile,
	EHttpSelectIAPs,
	EHttpIAPs1,
	EHttpIAPs2,
	EHttpIAPs3,
	EHttpIAPs4,
	EHttpIAPs5,
	EHttpIAPs6,
	EHttpIAPs7,
	EHttpIAPs8
    };

#define  MAX_SERVER_NAME_LENGTH  50
#define  DEFAULT_SERVER_PORT     80
#define  REQUEST_METHOD_GET      0
#define  REQUEST_METHOD_POST     1
#define  MAX_IAPS_NUMBER         8
#endif // __HTTP_HRH__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?