Advertisement
Guest User

Untitled

a guest
Apr 12th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.66 KB | None | 0 0
  1. object LagHack extends App {
  2.  
  3.   implicit val ec = scala.concurrent.ExecutionContext.Implicits.global
  4.   val ws = ???
  5.  
  6.   val cookie: String = ???
  7.   val id: String = ???
  8.  
  9.   val aa = ws.url("http://kdice.com/api/kdice/table/sitin?t=1428865453804")
  10.     .withHeaders("Cookie" -> cookie)
  11.     .withHeaders("IOGC-Client-ID" -> id)
  12.     .withHeaders("Content-Type" -> "application/json")
  13.   val bb = ws.url("http://kdice.com/api/kdice/table/sitout?t=1428865453804")
  14.     .withHeaders("Cookie" -> cookie)
  15.     .withHeaders("IOGC-Client-ID" -> id)
  16.     .withHeaders("Content-Type" -> "application/json")
  17.  
  18.   while(true) {
  19.     println("Dada")
  20.     bb.get()
  21.     aa.get()
  22.   }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement