diff --git a/docs-translations/ko-KR/api/protocol.md b/docs-translations/ko-KR/api/protocol.md index 25aaf9ce7284..50ee2ec92aa0 100644 --- a/docs-translations/ko-KR/api/protocol.md +++ b/docs-translations/ko-KR/api/protocol.md @@ -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)` 또는 diff --git a/docs-translations/ko-KR/api/session.md b/docs-translations/ko-KR/api/session.md index 4925669abf64..e10bd71d5a3e 100644 --- a/docs-translations/ko-KR/api/session.md +++ b/docs-translations/ko-KR/api/session.md @@ -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` 객체와 함께 호출되어야 합니다: diff --git a/docs-translations/ko-KR/api/web-contents.md b/docs-translations/ko-KR/api/web-contents.md index 1748034a2a8c..347d8775db41 100644 --- a/docs-translations/ko-KR/api/web-contents.md +++ b/docs-translations/ko-KR/api/web-contents.md @@ -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`에 대하여 새로운 윈도우를 열기위해 요청한 경우 발생하는 이벤트입니다. diff --git a/docs-translations/ko-KR/api/web-view-tag.md b/docs-translations/ko-KR/api/web-view-tag.md index 25c4411ad57d..c372e5e9b56c 100644 --- a/docs-translations/ko-KR/api/web-view-tag.md +++ b/docs-translations/ko-KR/api/web-view-tag.md @@ -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`를 만들 때 사용되어야 하는 옵션. 페이지가 새로운 브라우저 창을 생성할 때 발생하는 이벤트입니다.