Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
The container offers value semantics including move and copy if supported by该容器提供值语义,支持移动和拷贝操作(前提是 __Body__and和 __Fields__. User defined template function parameters can accept any message, or can use partial specialization to accept just requests or responses. The default __fields__ is a provided associative container using the standard allocator and supporting modification and inspection of fields. As per __rfc7230__, a non-case-sensitive comparison is used for field names. User defined types for fields are possible. The `Body` type determines the type of the container used to represent the body as well as the algorithms for transferring buffers to and from the container. The library comes with a collection of common body types. As with fields, user defined body types are possible.支持这些操作)。用户定义的模板函数参数可以接受任意消息,也可通过偏特化仅接受请求或响应。默认的 __fields__ 是一个关联容器,使用标准分配器,支持字段的修改与查询。根据 __rfc7230__,字段名称比较时不区分大小写。用户也可以自定义字段类型。`Body` 类型决定消息体的容器类型,以及用于在容器与缓冲区之间传输数据的算法。该库提供一组常用的消息体类型。与字段类似,用户也可以自定义消息体类型。