Source Code

This module defines APIs for connecting to HTTP servers.

Given a Uri to an HTTP service, you can get its text representation with:

void getit(Uri uri) {
    Request request = get(uri);
    Response response = request.execute();
    print(response.contents);
}
Platform: Java
By: Stéphane Épardaud, Matej Lazar
License: Apache Software License
Packages
ceylon.http.client

HTTP client APIs.

Dependencies
ceylon.collection1.3.1
ceylon.http.common1.3.1
ceylon.io1.3.1
ceylon.uri1.3.1

HTTP client APIs.

By: Stéphane Épardaud
Functions
getSource Codeshared Request get(Uri uri)

Returns an HTTP GET request for the given Uri

Classes
ParserSource Codeshared Parser

Parses an HTTP message from the given FileDescriptor.

RequestSource Codeshared Request

Represents an HTTP Request

ResponseSource Codeshared Response

Represents an HTTP Response