2010-08-22 4 views

답변

0

아니면 웹 클라이언트를 설치하려면 pharo 또는 squeak

+0

WebClient는 이미 매우 강력합니다. – nes1983

1

을 위해, 더 그들과 함께 해변 번의 클릭으로 이미지를 뭔가를하려는 경우 :

(Installer ss project: 'WebClient') 
    install: 'WebClient-Core' 

다음

response := WebClient httpGet: 'http://www.google.com/'. 
headers := response headers. "An OrderedCollection of headername -> headervalue" 
body := response content. 
5

또는 새 Zinc framework을 다음과 같이 사용 :

| response content headers | 

response := ZnClient new 
    url: 'http://stackoverflow.com'; 
    get; 
    response. 

content := response contents. 
headers := response headers.