Skip to content
/ agent Public

Minimalistic Swift HTTP request agent for iOS and OS X

Notifications You must be signed in to change notification settings

XeroX/agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent

Minimalistic Swift HTTP request agent for iOS and OS X.

Introduction

This is a tiny framework that gives you nice a API for crafting an HTTP request.

Usage

GET

Agent.get("http://google.com", { (agent: Agent, response: NSURLResponse) -> () in
  println(response)
})
let req = Agent.get("http://apple.com")
req.end({ (agent: Agent, response: NSURLResponse) -> () in
  println(response)
})

About

Minimalistic Swift HTTP request agent for iOS and OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published