|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-0BE9F825-9FF8-55A1-AF7C-A380A0C64735" xml:lang="en"><title>Encoding |
|
13 and Decoding WSP Headers</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>This tutorial describes the steps to encode and decode WSP headers. </p> |
|
15 <section><title>Introduction</title> <p>Wireless Session Protocol |
|
16 (WSP) offers services that are most suited for browsing applications. It provides |
|
17 functionality equivalent to HTTP 1.1 which incorporates features such as long-lived |
|
18 sessions, a common facility for data push, capability negotiation and session |
|
19 suspend/resume. For more details on WSP services, refer to <xref href="http://www.openmobilealliance.org/tech/affiliates/wap/wap-230-wsp-20010705-a.pdf" scope="external">WAP WSP</xref>. </p> </section> |
|
20 <section><title>Procedure</title><ul> |
|
21 <li><p><xref href="GUID-4FE5CA06-8C3A-4AC1-80CE-4418AC55937A.dita">Reading headers |
|
22 in a WSP buffer</xref></p></li> |
|
23 <li><p><xref href="GUID-5FEA4AF7-5837-4D9A-9022-92A746BED0C4.dita">WSP Header Primitive |
|
24 Encoding</xref></p></li> |
|
25 <li><p><xref href="GUID-101A11B5-E9A2-4E6D-9D81-9BF76312521D.dita">WSP Header Primitive |
|
26 Decoding</xref></p></li> |
|
27 </ul></section> |
|
28 <section><title>See also </title> <p><xref href="GUID-795B41AF-FBEA-56CE-AE20-EF17BE754723.dita">HTTP |
|
29 Utilities Library Overview</xref> </p> </section> |
|
30 </conbody></concept> |