Update changes to ko-KR/api

This commit is contained in:
arus 2016-09-26 00:03:32 +09:00
parent 2fbdac1034
commit bcf7a86dc7
4 changed files with 20 additions and 6 deletions

View file

@ -1,4 +1,4 @@
# protocol
# protocol
> 커스텀 프로토콜을 등록하거나 이미 존재하능 프로토콜의 요청의 동작을 변경합니다.
@ -85,11 +85,14 @@ app.on('ready', () => {
* `uploadData` Array (optional)
* `callback` Function
The `uploadData` is an array of `data` objects:
`uploadData``data` 객체의 배열입니다:
* `data` Object
* `bytes` Buffer - Content being sent.
* `file` String - Path of file being uploaded.
* `bytes` Buffer - 전송될 콘텐츠.
* `file` String - 업로드될 파일의 경로.
* `blobUUID` String - blob 데이터의 UUID. 데이터를 이용하기 위해
[ses.getBlobData](session.md#sesgetblobdataidentifier-callback) 메소드를
사용하세요.
`request`를 처리할 때 반드시 파일 경로 또는 `path` 속성을 포함하는 객체를 인수에
포함하여 `callback`을 호출해야 합니다. 예: `callback(filePath)` 또는

View file

@ -323,6 +323,14 @@ session.defaultSession.allowNTLMCredentialsForDomains('*')
현재 세션의 유저 에이전트를 표현하는 `String`을 반환합니다.
#### `ses.getBlobData(identifier, callback)`
* `identifier` String - Valid UUID.
* `callback` Function
* `result` Buffer - Blob data.
`identifier` 에 연결된 blob 데이터를 반환합니다.
### Instance Properties
다음은 `Session` 인스턴스에서 사용할 수 있는 속성들입니다:
@ -505,6 +513,9 @@ session.defaultSession.webRequest.onBeforeSendHeaders(filter, (details, callback
* `data` Object
* `bytes` Buffer - 전송될 콘텐츠.
* `file` String - 업로드될 파일의 경로.
* `blobUUID` String - blob 데이터의 UUID. 데이터를 이용하기 위해
[ses.getBlobData](session.md#sesgetblobdataidentifier-callback) 메소드를
사용하세요.
`callback``response` 객체와 함께 호출되어야 합니다:

View file

@ -135,7 +135,7 @@ Returns:
* `url` String
* `frameName` String
* `disposition` String - `default`, `foreground-tab`, `background-tab`,
`new-window`, `other`중 하나일 수 있습니다.
`new-window`, `save-to-disk`, `other`중 하나일 수 있습니다.
* `options` Object - 새로운 `BrowserWindow` 객체를 만들 때 사용되는 옵션 객체입니다.
페이지가 `url`에 대하여 새로운 윈도우를 열기위해 요청한 경우 발생하는 이벤트입니다.

View file

@ -670,7 +670,7 @@ Returns:
* `url` String
* `frameName` String
* `disposition` String - `default`, `foreground-tab`, `background-tab`,
`new-window`, `other`를 사용할 수 있습니다.
`new-window`, `save-to-disk`, `other`를 사용할 수 있습니다.
* `options` Object - 새로운 `BrowserWindow`를 만들 때 사용되어야 하는 옵션.
페이지가 새로운 브라우저 창을 생성할 때 발생하는 이벤트입니다.