<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kigh</author_name>
  <author_url>https://blog.hatena.ne.jp/Kigh/</author_url>
  <blog_title>自分用メモ</blog_title>
  <blog_url>https://kigh-memo.hatenablog.com/</blog_url>
  <categories>
    <anon>TypeScript</anon>
    <anon>Electron</anon>
  </categories>
  <description>背景 ElectronアプリをTypeScriptを使って書いている やりたいこと：(1) IPC (Inter-Process Communication)をWeb APIっぽく使えるようにしたい、(2) 同時に、型情報を活かしつつ綺麗に実装したい 一般的なWebアプリをイメージしている。Rendererプロセスがブラウザ、Mainプロセスがサーバーという対応 色んな処理（CRUDとか）をRenderer側からリクエストして、非同期でレスポンスが返ってきたらRenderer側にメッセージ表示などしたい 処理の種類に対応する複数の種類の&quot;API&quot;を実装（例：AddUser、GetUserInf…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkigh-memo.hatenablog.com%2Fentry%2F2020%2F01%2F02%2F221423&quot; title=&quot; ElectronのIPCをWeb APIっぽく使えるようなTypeScript実装の試み - 自分用メモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-01-02 22:14:23</published>
  <title> ElectronのIPCをWeb APIっぽく使えるようなTypeScript実装の試み</title>
  <type>rich</type>
  <url>https://kigh-memo.hatenablog.com/entry/2020/01/02/221423</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
