Date: 2013-09-08 11:15 am (UTC)
From: [identity profile] palm-mute.livejournal.com
слегка портит впечатление тот факт, что комбинаторы для построения запросов возвращают mutable RequestBuilder. Легко наступить на грабли:
val ids: Seq[String] = ...
val base = url("http://host/service")
val requests = ids map { base / _ }

Date: 2013-09-08 12:16 pm (UTC)
nine_k: A stream of colors expanding from brain (Default)
From: [personal profile] nine_k
> "The latest release version is 0.11.0. For information on Dispatch 0.8.x, see dispatch-classic."

Oh the lovely fast-paced Scala world :)

Date: 2013-09-09 09:11 pm (UTC)
From: [identity profile] http://users.livejournal.com/_windwalker_/
Этот пиздец, штоле ?

http://www.flotsam.nl/dispatch-periodic-table.html

Date: 2013-09-09 09:16 pm (UTC)

Date: 2013-09-09 09:17 pm (UTC)
From: [identity profile] http://users.livejournal.com/_windwalker_/
Уже ржу.


PUT a file

Similar to the POST verb, Dispatch supplies a <<< verb to apply the PUT method and set a java.io.File as the request body.

def myPut = myRequest <<< myFile


В крестики не наигрались.

Date: 2013-09-09 09:21 pm (UTC)
From: [identity profile] ivan-gandhi.livejournal.com
:) Tastes vary...

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

May 2025

S M T W T F S
    1 2 3
456 7 8 9 10
11 121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 15th, 2025 06:09 pm
Powered by Dreamwidth Studios