What does “to stub” mean in programming?

后端 未结 10 941
盖世英雄少女心
盖世英雄少女心 2020-12-12 10:06

For example, what does it mean in this quote?

Integrating with an external API is almost a guarantee in any modern web app. To effectively test such i

10条回答
  •  囚心锁ツ
    2020-12-12 10:15

    Stub is a piece of code which converts the parameters during RPC (Remote procedure call).The parameters of RPC have to be converted because both client and server use different address space. Stub performs this conversion so that server perceive the RPC as a local function call.

提交回复
热议问题