JsonRequestSerializer

A request serializer to JSON objects/

  • Build an request using the specified params passed in.

    Declaration

    Swift

    public override func request(url: NSURL, method: HttpMethod, parameters: [String: AnyObject]?, headers: [String: String]? = nil) -> NSURLRequest

    Parameters

    url

    the url of the resource.

    method

    the method to be used.

    parameters

    the request parameters.

    headers

    any headers to be used on this request.

    Return Value

    the URLRequest object.